Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing Path for Dataenvironment
Message
 
 
To
13/07/2000 17:47:56
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00391559
Message ID:
00392217
Views:
10
Another approach would be to put the code in your base form class.

>>Never mind, it is working now. Thanks.
>
>******************************
>Good, but is it good enough?
>Here is the tip,
>Since putting some code in every form's DE.BeforeOpenTables can be
>cumbersome and most of all redundant, Try to create public object that has method which receives whole DE as parameter (object) and redirect it's cursors to propper path.
>Then you can call it issuing one line of code in DE;
>
>DE.BeforeOpenTables
>myObject.RedirectCursors(This)
>
>Regards
Rick Hodder
MCP Visual Foxpro
C#, VB.NET Developer
Independent Consultant
www.RickHodder.com
MyBlog
Previous
Reply
Map
View

Click here to load this message in the networking platform