Thread View: borland.public.cppbuilder.database.ado
1 messages
1 total messages
Started by Jaime Alvarez
Mon, 13 Nov 2000 22:17
ADO Locate
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads