Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Don't want to use data environment
Message
From
08/02/2001 23:11:09
 
 
To
08/02/2001 22:10:09
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00474308
Message ID:
00474313
Views:
21
>Hi. VFP6. I am writing a multi-user app. I don't want to use the data environment in my forms because the location of the data will change once I "go live". In which method would I code the data environment for my forms? Also, what functionality will I lose (other than drag-and-drop in my form design)?
>Is there another solution? I plan to store my data path in a dbf and use '&path."\filename'" to load my data.

You can open your data tables in the Load event. I would reccommend that you use name subsitution not macro evaluation:

USE (path+"\filename")

Name substitution is a little faster than macros and you won't have problems if your paths contain embedded spaces.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform