Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Database path
Message
From
19/10/2006 05:23:23
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Database path
Miscellaneous
Thread ID:
01163219
Message ID:
01163219
Views:
50
I have two database have same name, one is on C:\, another is on F:\,
both are same name and same structure.
I use SET DEFAULT TO F:\ and SET PATH TO F:\ to define the access path of the database, but the USE command still open the database which is in C:\.

Why ?
The following code is in the Form's INIT method.
SET DEFAULT TO f:\yim\data\ 
SET PATH TO f:\YIM\DATA\
USE yim!invoice IN 0 ALIAS invoice SHARED
SET ORDER TO 1
Please advise.
Next
Reply
Map
View

Click here to load this message in the networking platform