Article View: borland.public.cppbuilder.database.ado
Article #3004Re: ADO Problem - "Row cannot be located ... "
From: Vassiliev V.V.
Date: Wed, 22 Jan 2003 08:34
Date: Wed, 22 Jan 2003 08:34
29 lines
2065 bytes
2065 bytes
> Firstly, I don't really understand what this code is all about.
It removes "inresolved external CheckAutoResult()", at least in BCB6.
Comment it and see what happens.
> I used the following:
>
> ADODataSet1->Properties->Item[WideString("Update Criteria")]->Value =
> adCriteriaKey;
Yes, that is right. In BCB6 WideString is not necessary but in earlier
versions it is.
> I found that "adCriteriaKey" was defined in a number of header files
> including adoint.h,
When worknig with VCL it is good to start search in Include\vcl folder -
these headers should be compatible.
#include <adodb_xp.h>
or
#include <adodb_2k.h>
should be OK. If this does not help, you may try export ADODB type library
and
#include <ADODB_tlb.hpp>
If even this does not help, adCriteriaKey = 0.
----------------------------------------------------------------
Regards,
Viatcheslav V. Vassiliev
http://www.oledbdirect.com
The fastest way to access MS SQL Server, MS Jet (MS Access)
and Interbase (LCPI provider, http://ibp.lcpi.lipetsk.ru) databases.
Technical Details
Message-ID:
<3e2e57d1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3e2cb1ca@newsgroups.borland.com> <3e2cf3fc@newsgroups.borland.com> <3E2DEFC6.2010706@ravar.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,e558d2dad24464a X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2003-01-22 00:39:12 PST From: "Vassiliev V.V." <news@vassilievvv.mtu-net.ru> Newsgroups: borland.public.cppbuilder.database.ado References: <3e2cb1ca@newsgroups.borland.com> <3e2cf3fc@newsgroups.borland.com> <3E2DEFC6.2010706@ravar.net> Subject: Re: ADO Problem - "Row cannot be located ... " Date: Wed, 22 Jan 2003 11:34:26 +0300 Lines: 32 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 212.188.96.9 Message-ID: <3e2e57d1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1043224529 212.188.96.9 (22 Jan 2003 00:35:29 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail