Board index » delphi » Using TQuery and an alias problem
Patrick Sabourin
![]() Delphi Developer |
Mon, 25 Mar 2002 03:00:00 GMT
|
Patrick Sabourin
![]() Delphi Developer |
Mon, 25 Mar 2002 03:00:00 GMT
Using TQuery and an alias problem
I am using Delphi 4. I have on a form a TQuery component and a query
inthe SQL property of the TQuery. The query works like this " select * from c:\somedir\table1.db" I do have an alias set up in the BDE. How do I use the alias/make sure -- "Even a mosquito doesn't get a slap on the back until |
Alain Quesne
![]() Delphi Developer |
Mon, 25 Mar 2002 03:00:00 GMT
Re:Using TQuery and an alias problemSet the database property of TQuery to the name of your alias. If the alias exists on your end-user's machine, your query will work. Use InstallShield Express to set-up the alias and deploy your app. -- Alain Quesnel P.S.: remove the [brackets] from my address if you wish to reply by e-mail. QuotePatrick Sabourin wrote in message <37FD5364.CC387...@technologist.com>... |
Borla
![]() Delphi Developer |
Tue, 26 Mar 2002 03:00:00 GMT
Re:Using TQuery and an alias problemOn Thu, 07 Oct 1999 21:13:56 -0500, Patrick Sabourin Quote<patrick_sabou...@technologist.com> wrote: reference in a local SQL statement, it must be enclosed in quotation marks (single or double). SELECT * Alternately, you can use the name of a BDE alias. Enclose the alias name in SELECT * Local SQL (what the BDE uses for dBASE, Paradox, and FoxPro tables) is Your particular questions are addressed in this local SQL help file. ========================================================================== |
Patrick Sabouri
![]() Delphi Developer |
Tue, 26 Mar 2002 03:00:00 GMT
Re:Using TQuery and an alias problemSure, you can email me the updated help files for Delphi 4. My email address is posted with my posts in the newsgroup. QuoteBorland wrote: ----------------------------------------------------------- Patrick Sabourin B.Sc. (Comp. Sci.) email: patrick_sabou...@technologist.com web site: http://surf.to/patrick-sabourin "Even a mosquito doesn't get a slap on the back until |
1. Using TQuery and an alias problem
2. get data from different aliases using only one TQuery
3. D3 - Alias problem in TQuery object
4. Chaining TQueries: Querying Paradox TQuery result sets using another TQuery
5. Syntax problem using Aliases in SQL
6. Alias Path Problem using "DbiGetDatabaseDesc"
7. problems by using different aliases