🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.multi-tier
1 messages
1 total messages Started by Cristian Thu, 15 Feb 2001 17:19
Adding new records on client applications
#705
Author: Cristian
Date: Thu, 15 Feb 2001 17:19
10 lines
1432 bytes
Hi:
    I write a client application that add new records to a table using a
TDBGrid. The table have an Id field of  type AutoIncrement, and a Name field
of type String. I like to add many records before applying them to the
database server, but the AutoIncrement field is Null to all records and that
perform an Error. What logic I have to use to add many new records only in
the client application?
    I need this sort of thing because: if the user dosen't want to post the
new records, then he can push a cancel button that triggers the
CancelUpdates method of the TClientDataSet.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads