Article View: borland.public.cppbuilder.database.ado
Article #2224bookmark
From: michele
Date: Sun, 19 Oct 2003 07:31
Date: Sun, 19 Oct 2003 07:31
20 lines
1273 bytes
1273 bytes
Why if I'm using the following code the variable value is always NULL?
TBookmark SavePlace;
Variant PrevValue;
if (ADOConnection1->InTransaction == true)
{
ADOConnection1->CommitTrans();
SavePlace = ADOQuery1->GetBookmark();
ADOQuery1->Refresh();
ADOQuery1->GotoBookmark(SavePlace);
ADOQuery1->FreeBookmark(SavePlace);
ADOConnection1->BeginTrans();
}
}
Thanks
Michele
Technical Details
Message-ID:
<3f923dae@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-out1.nntp.be!propagator2-sterling!In.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,1fa4b82e3bac8abb,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2003-10-19 00:33:17 PST From: <michele> Newsgroups: borland.public.cppbuilder.database.ado Subject: bookmark Date: Sun, 19 Oct 2003 09:31:03 +0200 Lines: 23 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 NNTP-Posting-Host: 81.211.165.177 Message-ID: <3f923dae@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1066548654 81.211.165.177 (19 Oct 2003 00:30:54 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-out1.nntp.be!propagator2-sterling!In.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail