Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get rid of Data Environment settings
Message
From
26/03/2000 15:05:07
Dragan Jankovic
Delegate Technology GmbH
Vienna, Austria
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00350550
Message ID:
00350553
Views:
23
>Hi,
>I have some settings in a Data Environment of a form, which links a number of files together. This seems to have the effect of creating, automatically, a whole series of Set Relation To commands when the form is run.
>
>When I run up another form, I had code which it took me about 3 days to figure out what was going on. Everytime I referred to file 1 , it seemed to go to a particlar record in File 2 ,as follows:
>
>Select File1
>Goto Myrec && Should stay here
>Select File2 &&& but .... File1 record position changes now !!
>
>Each time File2 was selected, File1 was no longer at MYREC !!!
>
>My question is, is there an easy way to get rid of all the Set Realtion to commands when I close a form, because at the moment they are persisting , even afetr the form is closed .
>
Hi Gerard,
Use Private DataSession (thisform.DataSession = 2) and that way any DataEnvironment settings or xcode commands won't be remembered in default DataSession.
Previous
Reply
Map
View

Click here to load this message in the networking platform