Article View: borland.public.cppbuilder.database.ado
Article #5183Re: Clarification on AutoInc fields
From: Mark Cashman
Date: Fri, 29 Jun 2001 00:58
Date: Fri, 29 Jun 2001 00:58
19 lines
1610 bytes
1610 bytes
Hi, Umberto! The method you describe is not safe in a multiuser environment. Have a look at http://www.temporaldoorway.com/programming/cbuilder/databaseandbde/generateuniqueid.htm As for your other problems with AutoInc fields, I'm not sure what advice to offer you. I was and have been able to use them successfully (MS SQL Server) with ADO and the BDE. ------ Mark Cashman (TeamB - C++ Builder), creator of The Temporal Doorway at http://www.temporaldoorway.com - Original digital art, writing, music and more - C++ Builder / JBuilder Tips and The C++ Builder Programmer's Webring (Join us!) http://www.temporaldoorway.com/programming/index.htm ------
Technical Details
Message-ID:
<3B3BD2D2.5F446F35@temporaldoorway.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3b3b532b$1_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,2eab2f6830ef7732 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2001-06-28 18:09:39 PST Message-ID: <3B3BD2D2.5F446F35@temporaldoorway.com> Date: Thu, 28 Jun 2001 20:58:58 -0400 From: Mark Cashman <mcashman@temporaldoorway.com> Reply-To: mcashman@temporaldoorway.com X-Mailer: Mozilla 4.77 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.database.ado Subject: Re: Clarification on AutoInc fields References: <3b3b532b$1_2@dnews> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.14.197.193 X-Trace: dnews 993776621 24.14.197.193 (28 Jun 2001 18:03:41 -0700) Lines: 21 Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews