Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with Datasession
Message
From
20/07/2001 08:18:56
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00533035
Message ID:
00533057
Views:
14
Hans,
What is the base class of your object that contains the functions. If it's based on the session class, then that would be the reason. Otherwise, the object should use whatever datasession is currently active.


>Hello,
>
>I have an object that contains serveral functions. One of them does an update of serveral fields of a table.
>I use that function from within a form. This form uses a private datasession.
>My problem now is that when I call the function, my data environment goes to the default datasession so that my function doesn't find the tables I have opened in my private datasession. Is there a way to tell my function (object) not to use the default datasession but the private datasession of the form (without using "set datasession to") ??
>
>
>Greetings,
>
>Hans
Daniel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform