🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #705

Adding new records on client applications

#705
From: 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.
Technical Details
Message-ID: <3a8c0117_2@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!grolier!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!200.54.190.254

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,4831955fc12759f6,start
X-Google-Attributes: gidfcd2b,public
X-Google-ArrivalTime: 2001-02-15 08:22:53 PST
From: "Cristian" <cgv@diit.cl>
Newsgroups: borland.public.cppbuilder.database.multi-tier
Subject: Adding new records on client applications
Date: Thu, 15 Feb 2001 13:19:24 -0400
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
NNTP-Posting-Host: 200.54.190.254
Message-ID: <3a8c0117_2@dnews>
X-Trace: 15 Feb 2001 08:17:27 -0800, 200.54.190.254
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!grolier!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!200.54.190.254