Search found 3 matches

by fernandobanhos
16.09.2024, 22:21
Forum: Firebird
Topic: Generator
Replies: 2
Views: 143

Re: Generator

problem solved. You have to use it StartTransaction and Commit Example: Conn.StartTransaction; Qry. Close; Qry. SQL. Clear; Qry. SQL. Add('set generator TEST to 99'); Qry. ExecSQL; Conn.Commit; or Conn.Connect; Conn.StartTransaction; Conn.ExecuteDirect('set generator TEST to 99'); Conn.Commit;
by fernandobanhos
15.09.2024, 01:53
Forum: Firebird
Topic: Generator
Replies: 2
Views: 143

Generator

When trying to change the value of a generator, I found that it was not changed. I'm using Firebird 4 with Zeos 8 (trunk) In the following script: set generator GEN_CODIGO to 99 I already tried using the TZQuery, TZSQLProcessor components and was unsuccessful I also tried running directly through th...
by fernandobanhos
02.05.2024, 01:41
Forum: ZeosLib 7.3/8.0 Forum
Topic: SaveToStream in TZAbstractRODataset
Replies: 1
Views: 125

SaveToStream in TZAbstractRODataset

Why was the SaveToStream function defined only for the TZAbstractMemTable and not for the TZAbstractRODataset? I'm developing an HTTP Server and I needed to transport a Stream of the result of a TZQuery or a TZReadOnlyQuery to the client, that's when I realized that the SaveToStream function belonge...