Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Change datasession at run time
Message
From
25/02/2003 08:19:29
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00757479
Message ID:
00757482
Views:
12
>I Have a form which prints documents... working fine as a private data session..uses afew files etc.
>
>I now want to call this form from another form and do as little change to the form as possible. I can populate all files that are required beforehand, but because its a Private data session, it does not see them ??
>The easiest thing for me woudl be just temporarily, change the Datasession to a Default data session, and then my files can be seen.
>
>Anybody know a way of doing this or if not, some iother suggesyions ?
>
>Regards,
>
>Gerard

set datasession to _screen.DataSessionID
*..
set datasession to thisform.DataSessionID

But still you can't move the cursors between sessions (you can move arrays or objects).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform