Search found 4 matches

by ZEOSFIREBIRD2
12.09.2019, 05:51
Forum: Lazarus / Freepascal
Topic: Sequence von Firebird 3 und Firebird 4
Replies: 8
Views: 714

Re: Sequence von Firebird 3 und Firebird 4

I have changed as you write:
"if (new.id is null) then new.id = next value for gen_bookids;"
for secure, but I need no ZSequence in my program.

I will check to work with SEQUENCE from Firebird using
ZUpdateSQL. After the answers I have some idea
it could work with them.
by ZEOSFIREBIRD2
08.09.2019, 15:51
Forum: Lazarus / Freepascal
Topic: Sequence von Firebird 3 und Firebird 4
Replies: 8
Views: 714

Re: Sequence von Firebird 3 und Firebird 4

With trigger inserted from me there is Zeos very good working. You can download my tutorial and see the index tab "Edit Table". Works fine with Firebird 4 and I have tested also with Firebird 3. For the Tutorial you must du nothing, because it comes with embedded Firebird 4. The SQL for cr...
by ZEOSFIREBIRD2
04.09.2019, 11:59
Forum: Lazarus / Freepascal
Topic: Sequence von Firebird 3 und Firebird 4
Replies: 8
Views: 714

Re: Sequence von Firebird 3 und Firebird 4

All ok now. Thank you, Jan.
by ZEOSFIREBIRD2
03.09.2019, 14:29
Forum: Lazarus / Freepascal
Topic: Sequence von Firebird 3 und Firebird 4
Replies: 8
Views: 714

Sequence von Firebird 3 und Firebird 4

Programmed with: Lazarus 2.0.4, Zeos 7.3, Firebird 4 Beta 1 If I use the following SQL commands to create the tables ADDRESS and CONTACT with FOREIGN KEY and then create the data, this is executed without any problems with firebird 4: CREATE TABLE ADRESS ( /* --- IN FIREBIRD 3 und 4 should go ------...