Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting Datasession by Name of Datasession
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00564510
Message ID:
00564554
Views:
37
>Is it possible to set a datasession by name instead of number? I have multiple data sessions that are opened in random order, so I am unable to refer to them in a numbering order and would simply like to call them by their name.
>
>Any ideas. Thank you in advance.
>
>Alex Rodriguez

If they are private DataSessions of Forms, you can loop through the _Screen.Forms collection using _Screen.FormCount property until you find the form you want. Then set the DataSession to that form's DataSessionID.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform