Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Factory Objects - practical application
Message
From
14/12/2006 17:00:16
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
14/12/2006 15:35:42
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01177742
Message ID:
01177815
Views:
28
>You could add an additional parameter that passes the current data session id to the class, then use SET DATASESSION.

That would require me to remember the current datasession - via an object instantiated via a factory inside the factory ;)

then set datasession, create the object

and then the object that remembered the data session would automatically reset the datasession.

What is the value of having a single factory object instantiated at app startup? Hmmm? :)

>
>>Hi Craig
>>
>>Long time no see.
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform