Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data Environments and Multiuser Applications
Message
From
28/09/1998 06:19:06
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00141148
Message ID:
00141350
Views:
23
>>Hi Bob, I have a form class that I created by using the add class and selecting form, but there is no data environment in the class. Do I have to have a form then base a class on the form somehow?
>>
>>Thanks
>
>John, Form Classes do not contain Data Environments. You will be loading your tables some other way, but you can use simlar ways to those mentioned in the thread of calling the correct path. Just include the correct path when you USE your tables.

So if you don't know the correct path as on a network installation how do you handle that situation? I am talking about tables that are in the data environments of forms not tables that might get included in with the class definition. As you confirm the data environment gets added when you create each form. So I guess that you have to add a command to call the custom method that John Dennis talked about that modifies that path for each table in the data environment each time you create a form and put it in the beforeloadtables method.

Or is there another way to handle the paths to tables that might be located on a networked computer that several copies of the same program on different network computers that might have different drive letters for their network connection.

Thanks
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform