Главная страница | назад





Article #15211: TClientDataSet, auto-increment fields

 Question and Answer Database
FAQ211D.txt TClientDataSet, auto-increment fields
Category :DCOM/MultiTier/ActiveForm
Platform :All
Product :Delphi 3.x
Question:
We want to add several records that contain auto-increment
fields to the ClientDataSet and then apply it to the remote
datamodule. The key field is an auto-increment field. How
is this done?
Answer:
You should be able to just leave this field blank on the
client application and it will be initialized when you call
ApplyUpdates to insert the record. If you need to see the
generated value back on the client, call Refresh.
7/16/98 4:31:28 PM

Last Modified: 01-SEP-99