Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread aplyupdates with dbisam
Sat, Dec 23 2006 6:12 PMPermanent Link

"Gabriel"
Delphi 7 / DBISAM 4.22
local net with 12 simultaneous users.

Hello

I am using ClientDataSet and use aplyupdates for you record the data in the
tables.
In this table a field autoinc exists.

I need to know which was the last number generated in this table. How to use
the autolastinc in this case? Which the event that I would get to obtain
this value?

I thank to who can send me an example.
I already try in several ways but without success.


Nirlan
Araxá-Brazil


Wed, Dec 27 2006 5:37 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Nirlan,

<< I am using ClientDataSet and use aplyupdates for you record the data in
the tables. In this table a field autoinc exists.

I need to know which was the last number generated in this table. How to
use the autolastinc in this case? Which the event that I would get to obtain
this value? >>

You can obtain it by simply reading the value from the table component
itself:

http://www.elevatesoft.com/dbisam4d5_tdbisamtable_lastautoincvalue.htm

--
Tim Young
Elevate Software
www.elevatesoft.com

Image