🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

autoincrement values

#518
From: Reynold M. de Guzman
Date: Thu, 27 Sep 2001 15:35
17 lines
1239 bytes
Hello,

I have a field that is set to autoincrement but I also need to get
that value right after the post to use it in another part of the
program.  How do I find what the value is?

I've tried to look for it in the BeforePost, AfterPost, and
FieldByName but it seems to give me wrong results.

Thanks.

Reynold


---
Reynold M. de Guzman
deguzman@offworldcolony.com
Technical Details
Message-ID: <3bb346c4.7362759@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,e1e36f5f360d4ee,start
X-Google-Attributes: gidfcd2b,public
X-Google-ArrivalTime: 2001-09-27 08:52:20 PST
From: deguzman@offworldcolony.com (Reynold M. de Guzman)
Newsgroups: borland.public.cppbuilder.database.multi-tier
Subject: autoincrement values
Date: Thu, 27 Sep 2001 15:35:20 GMT
Message-ID: <3bb346c4.7362759@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.5/32.452
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 63.253.122.14
X-Trace: dnews 1001604905 63.253.122.14 (27 Sep 2001 08:35:05 -0700)
Lines: 17
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews