Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling a *.app and having it use my default data sessio
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00322611
Message ID:
00322848
Views:
37
>>Any chance someone knows if this works? Seems to me (without getting a chance to test it yet) that if I call my own flavor of one of the VFP wizard app's from inside my app, the wiz app will have to have it's own data session. TIA!
>
>What default DS are you talking about? The VFP Default DS [DS 1], or the current DS? What about having your wiz app establish its own DS using the Session class or your own subclass of that?

The host app does must of work in the VFP Default DS, it has a stateless component responsible for data mining activities that also handles loading/opening necessary tables in default data session... then all my forms except a few run in that same default datasession [DS 1]. My adaptation of the pivot wiz will get called with a DO MyWiz.app call from this default data session.

I see three options - have the stateless component do it's usual work of setting up tables before launching pivot wiz (in either default data session if that's even possible, or in a separate data session). If I go with the default component doing the work separate from my application's default data session, having it pass off a session object to the piv wiz is probably my best bet. My third option would be to roll another stateless component right into MyWiz.app and make it completely self contained.

I'm not sure at this point where I want to go... the point of my original message was to rule out the one cludge-like possibility to make the whole scenario simpler. That one possibility is "can I even get a separate MyWiz.app to see what's in my main applications DS 1"

Thanks.
Roxanne M. Seibert
Independent Consultant, VFP MCP

Code Monkey Like Fritos
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform