Article View: borland.public.cppbuilder.database.ado
Article #2330Sorting a Table with out an index or primary keys
From: Lee
Date: Sat, 23 Aug 2003 06:31
Date: Sat, 23 Aug 2003 06:31
30 lines
1437 bytes
1437 bytes
I have created an Access Database using OLE automation. In that database, I
have created some tables with this line of code:
Query->SQL->Text = "CREATE TABLE Student_Information([SID] Int,[Last]
VarChar(15),[First] VarChar(15))";
Query->ExecSQL();
I know I am missing my Index declarations, but I don't want any. The data I
am entering could and probably will have duplicates. I need to sort this
Table ascending by last name then first name.
I keep getting the message Query: Missing SQL Property.
Any ideas?
Thanks,
Lee
Technical Details
Message-ID:
<3f470a43@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,b79bb0f9f240487d,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2003-08-22 23:36:34 PST From: "Lee" <gobroski@elltel.net> Newsgroups: borland.public.cppbuilder.database.ado Subject: Sorting a Table with out an index or primary keys Date: Fri, 22 Aug 2003 23:31:35 -0700 Lines: 35 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 12.18.161.26 Message-ID: <3f470a43@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1061620291 12.18.161.26 (22 Aug 2003 23:31:31 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail