🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #1138

Re: Tracking of Field Changes

#1138
From: Viatcheslav V. Vassiliev
Date: Mon, 24 Jan 2005 21:42
33 lines
2059 bytes
If you can get value, you can get ADOInt::Field object for each affected 
field. It has property "Name".

//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 + 
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)

"Morne Havenga" <havenga@mweb.co.za> �������/�������� � �������� ���������: 
news:41f4ad8b@newsgroups.borland.com...
> Hi
>
> I need to keep track of changes of fields in a Record.
>
> I am Using a ADOQuery.
>
> There are 2 Events that I thing I must use OnFieldChangeComplete &
> OnWillChangeField
>
> Both of these events have a  OleVariant &Fields  Param Send to them.
>
> I can get the New and Old Value out of this Param but not the Field Name 
> of
> the Value that has changes.
>
> Can anyone please help me ??
>
> Morne
>
> 
Technical Details
Message-ID: <41f56bdd@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.multikabel.nl!newsfeeder.wxs.nl!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41f4ad8b@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,f30a8e0095066ad6
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII
From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <41f4ad8b@newsgroups.borland.com>
Subject: Re: Tracking of Field Changes
Date: Tue, 25 Jan 2005 00:42:55 +0300
Lines: 35
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 83.102.222.75
Message-ID: <41f56bdd@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1106602973 83.102.222.75 (24 Jan 2005 13:42:53 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.multikabel.nl!newsfeeder.wxs.nl!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail