🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.interbase.sql
Article #11193

Re: get a data written in a triger

#11193
From: Frank Gruber
Date: Tue, 10 Dec 2002 10:27
12 lines
1440 bytes
> I use a trigger to write an index in a table with a generator,  this
trigger
> is "before insert" , how can i know the value that the genearator has
"after
> insert" in Delphi

Not possible.
If you are using TIBDataSet you should use the GeneratorFields property
and increment the generator not by the trigger but by the client app.

Regards,
Frank.
Technical Details
Message-ID: <3df5c182@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!news-lond.gip.net!news.gsl.net!gip.net!diablo.netcom.net.uk!netcom.net.uk!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3df52f52@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 114a0e,5f718427ebfe4af1
X-Google-Attributes: gid114a0e,public
X-Google-ArrivalTime: 2002-12-10 02:39:53 PST
From: "Frank Gruber" <HVFDMIPUMFPS@spammotel.com>
Newsgroups: borland.public.interbase.sql
References: <3df52f52@newsgroups.borland.com>
Subject: Re: get a data written in a triger
Date: Tue, 10 Dec 2002 11:27:12 +0100
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 217.231.182.101
Message-ID: <3df5c182@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1039516034 217.231.182.101 (10 Dec 2002 02:27:14 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!news-lond.gip.net!news.gsl.net!gip.net!diablo.netcom.net.uk!netcom.net.uk!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail