Article View: borland.public.cppbuilder.database.ado
Article #5320Re: Access 97 Table Name
From: Lee Gan
Date: Thu, 21 Jun 2001 14:24
Date: Thu, 21 Jun 2001 14:24
23 lines
1712 bytes
1712 bytes
Jari: Thanks for the advise. The problem still seems there, although the
OleException error message changes to "syntex error in query. Incomplete
query clause". I tried \", ', ( and [ and all kinds of other things. The SQL
statement I tried was SELECT * FROM \"a:b:c:d\". Any more suggestions?
Appreciate your advise. Lee
"Jari Kettunen" <john.doe@somewhere.com> wrote in message
news:3b318f14_2@dnews...
> First use Query-components then use double "" parenthes around tablename
in
> SQL-Statement
> Static statements in query-component should look alike ' select * from
> "a:b:c:d" '
> or in code
> void __fastcall TForm1::Button1Click(TObject *Sender)
> {
> ADOQuery1->Close();
> ADOQuery1->SQL->Clear();
> ADOQuery1->SQL->Add("select * from \"a:b:c:d\" ");
> ADOQuery1->Open();
> }
>
>
Technical Details
Message-ID:
<3b3203a8$1_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3b30feed$1_1@dnews> <3b318f14_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,5a793e13b2e06fa2 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2001-06-21 07:42:58 PST From: "Lee Gan" <leegan@hotmail.com> Newsgroups: borland.public.cppbuilder.database.ado References: <3b30feed$1_1@dnews> <3b318f14_2@dnews> Subject: Re: Access 97 Table Name Date: Thu, 21 Jun 2001 08:24:39 -0600 Lines: 26 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 NNTP-Posting-Host: 207.34.102.197 Message-ID: <3b3203a8$1_1@dnews> X-Trace: dnews 993133480 207.34.102.197 (21 Jun 2001 07:24:40 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews