๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

RE: Sort ADO problem

#5715
From: Jaime Alvarez
Date: Thu, 22 Feb 2001 20:11
22 lines
1508 bytes
Try to

   ADOTable1->Active = true;
   ADOTable1->Close();
   ADOQueryNivCumpEmp->Open();
   ADOQueryNivCumpEmp->Sort = "NameField ASC";

best regards
Jaime

Patrick CHIROSSEL <patrick.chirossel@anthemis.fr> escribi๏ฟฝ en el mensaje de
noticias 3A93A2CD.C73FF471@anthemis.fr...
> Hi,
>
> I use TADOTable and would like to use de Sort properties to order
> records of Access Table.
> It run correctly with de field declared as primaryKey but not with other
> field wich were declared as index, even if i found them with de
> GetIndexNames method of TADOTable.
> Is there someone who can help me
> Thanks
>
Technical Details
Message-ID: <3a9571e9_2@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!200.39.36.169
References: <3A93A2CD.C73FF471@anthemis.fr>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10698b,d8e94d31017e03b
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-02-22 12:14:03 PST
Reply-To: "Jaime Alvarez" <jalvarez@wjreddin.com>
From: "Jaime Alvarez" <jalvarez@wjreddin.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3A93A2CD.C73FF471@anthemis.fr>
Subject: RE: Sort ADO problem
Date: Thu, 22 Feb 2001 14:11:38 -0600
Lines: 24
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.169
Message-ID: <3a9571e9_2@dnews>
X-Trace: 22 Feb 2001 12:09:13 -0800, 200.39.36.169
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!200.39.36.169