How to use aliases in a search paths 
Author Message
 How to use aliases in a search paths
Hi everybody!
How can I use alias names to open/create files?

In Paradox was it possible to open a file this way:
tc.open(":MyFiles:customer.db")

How to do it in Delphi?

Best regards,

Christian



Mon, 01 Jun 1998 03:00:00 GMT
 How to use aliases in a search paths

Quote:

> Hi everybody!
> How can I use alias names to open/create files?

> In Paradox was it possible to open a file this way:
> tc.open(":MyFiles:customer.db")

> How to do it in Delphi?

> Best regards,

> Christian

It can be done the same way. A SQL statement for a TQuery
component would use:

   select * from ":alias:table"

I don't know about a TTable component, but I would think that it
would work as well.

Tom Waterhouse
OMTI



Tue, 02 Jun 1998 03:00:00 GMT
 
 [ 2 post ] 

 Relevant Pages 

1. Replmerg uses a unc path when an ftp path has been specified

2. Replmerg uses UNC path despite explicit use of ftp path

3. Reading Path to an Alias

4. Alias path

5. Extracting path from BDE alias or database?

6. Reading the database path from the BDE Aliases

7. Finding the path for an alias

8. Change path of BDE-alias at run-time

9. Extract full path for alias : how?

10. How to get the path from an alias

11. Different access path when going through alias?

12. aliases path at run time


 
Powered by phpBB® Forum Software