Article View: borland.public.cppbuilder.database.ado
Article #6095ADO Locate
From: Jaime Alvarez
Date: Mon, 13 Nov 2000 22:17
Date: Mon, 13 Nov 2000 22:17
27 lines
1645 bytes
1645 bytes
I use ADO express and MDAC 2.5 service pack 1
TLocateOptions Opts;
Variant locvalues[2];
Opts.Clear();
Opts << loCaseInsensitive;
locvalues[0] = Variant(GetGUIDUniOrg());
locvalues[1] = Variant(GetGUIDSubUniOrg());
if (ADOSubUniOrg->Locate("GUIDUniOrg;GUID", VarArrayOf(locvalues, 1),
Opts) )
// this stament return false with MDAC 2.5 sp1
// the same stament return true with MDAC 2.1 sp 2
if (ADOSubUniOrg->Locate("GUID", GetGUIDSubUniOrg(), Opts) )
// return true with MDAC 2.5 sp1
// return true with MDAC 2.1 sp2
when use the locate with more that one parameter in to key field not work,
but when use with one key field work fine...
Any comments
Thanks and sorry for my english
Jaime
Technical Details
Message-ID:
<3a106832_2@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!news.tele.dk!194.213.69.151!news.algonet.se!algonet!newsfeed1.uni2.dk!newssuck.uni2.dk!bornews.borland.com!dnews!200.39.36.189Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,79f419cec36a5de7,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2000-11-13 14:17:30 PST Reply-To: "Jaime Alvarez" <jalvarez@wjreddin.com> From: "Jaime Alvarez" <jalvarez@wjreddin.com> Newsgroups: borland.public.cppbuilder.database.ado Subject: ADO Locate Date: Mon, 13 Nov 2000 16:17:57 -0600 Lines: 30 Organization: Reddin And Associates X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 NNTP-Posting-Host: 200.39.36.189 Message-ID: <3a106832_2@dnews> X-Trace: 13 Nov 2000 14:16:18 -0800, 200.39.36.189 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!news.tele.dk!194.213.69.151!news.algonet.se!algonet!newsfeed1.uni2.dk!newssuck.uni2.dk!bornews.borland.com!dnews!200.39.36.189