Generator/AutoInc x Firebird

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
valdemirjs1976
Posts: 1
Joined: Mon 28 Sep 2009 11:58

Generator/AutoInc x Firebird

Post by valdemirjs1976 » Mon 28 Sep 2009 12:43

how should I set the query to a column automatically receive a generator to give insert.
I use Ibo and am testing UNIDAC in IBO, I have a property where I Generator Links
inform

COLUMN = GENERATOR

In unidac saw the properties
Generator Mode
Step Generator
Key Generator .... I submit here equal to IBO? and if I have more than one field with generator?

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Tue 29 Sep 2009 07:48

Set the DMLRefresh property to True. In this case UniDAC generates an INSERT statement with RETURNING clause to get new field values.

Post Reply