Sound like this would be database specific. What database are you using?
Regards,
Ben
Search found 193 matches
- 01.05.2007, 09:06
- Forum: MySQL
- Topic: Timeout - Doesn't timeout in time to prevent hanging
- Replies: 4
- Views: 1734
- 23.04.2007, 09:43
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: ZStroreProc
- Replies: 1
- Views: 744
- 19.04.2007, 11:29
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Query that do not a result, while it must!
- Replies: 2
- Views: 558
- 12.04.2007, 14:20
- Forum: SQLite
- Topic: Simple query
- Replies: 3
- Views: 1823
I agree that it can't get much easier but if you are doing this often, you could create a function to do it. Also have you looked at the TZSequence component? It could be useful for this but I'm not sure what databases it supports. BTW Query.Open is completely equivalent to Query.Active := True; Ben
- 21.03.2007, 17:23
- Forum: PostgreSQL
- Topic: RAISE NOTICE event on Zeos
- Replies: 6
- Views: 2772
@Ben : I think the OP wanted to catch the errors raised on the server. Maybe, but RAISE NOTICE is different to LISTEN / NOTIFY which is what was supported by previous versions of ZeosLib, that's all I was saying. On PostgreSQL's command line: postgres=# listen some_message; LISTEN postgres=# notify...
- 21.03.2007, 16:11
- Forum: PostgreSQL
- Topic: RAISE NOTICE event on Zeos
- Replies: 6
- Views: 2772
I think the OP was talking about something other than LISTEN / NOTIFY. ( http://www.postgresql.org/docs/8.2/interactive/sql-notify.html ) RAISE NOTICE is similar to RAISE EXCEPTION and used in PL/pgSQL functions to return messages within the function call without aborting the transaction. See here: ...
- 12.03.2007, 17:46
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Error on installing Zeos 6.6.0
- Replies: 1
- Views: 831
- 09.03.2007, 10:04
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Updatable Query
- Replies: 7
- Views: 1706
- 07.03.2007, 16:54
- Forum: User Patches
- Topic: [bug_fixed] Master-detail close/open
- Replies: 5
- Views: 2309
- 05.03.2007, 14:59
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: bds 2006 and postgre
- Replies: 3
- Views: 1236
- 05.03.2007, 14:49
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: bds 2006 and postgre
- Replies: 3
- Views: 1236
- 05.03.2007, 14:38
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Required is true for calculate field?
- Replies: 3
- Views: 1118
Try setting Not tested but should work.
Regards,
Ben
Code: Select all
MyZQuery.FieldByName('Calc').Required := False;
Regards,
Ben
- 05.03.2007, 14:33
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: DataType ftTime limited to 24 hours
- Replies: 2
- Views: 822
- 02.03.2007, 11:39
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: The text type column value isn't correct, always is (MEMO).
- Replies: 2
- Views: 1042
I've learned from bitter experience that you need varchar(254) instead of text for most string fields. In Delphi anything bigger is a problem as it's always treated as a Memo field. It also helps when using MS Access to connect to PostgreSQL. BTW if you just want to view your Memo fields in a dbgrid...
- 01.03.2007, 17:58
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: ZSequence.pas Bug 6.6.0 & 6.6.1
- Replies: 4
- Views: 1400