Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help. The Destroy event of my session object keeps firin
Message
From
09/01/2001 11:55:12
 
 
To
09/01/2001 08:17:04
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00461058
Message ID:
00461232
Views:
14
>I think I have solved this problem now.
>
>It looks like it was because, oDS, my object reference was going out of scope when the forms load event finished.
>
>I have made oDS public now and all seems ok.
>
>Should I have made oDS a property of my form instead of a variable.
>Would this slow things down?

Yes, a form property would be the preferred way to deal with something that only belongs to the form. A PUBLIC variable could cause you trouble. No, I doubt that speed would be an issue here.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform