Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What DS # am I in?
Message
From
03/12/1997 19:01:56
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00063638
Message ID:
00063671
Views:
63
Mark,

From the way I read it, you need to use the DataSessionID property.

But. . . there doesn't seem to be any way to simply say 'the next available one', and it appears that you need to do some kind of loop to learn which are "alive" (and thus which might be "free" to use.

Looks like a missing command option that someone should include in the Wish List.

Cheers,
Jim N

>>>>>If I have forms with private datasessions, how can I tell what datasession number I am in? Specifically, I have a form that starts in the default datasession which could be a private datasession from a calling form. Once I have a piece of data from that default private DS, I want to start another private DS for the child form with SET DATASESSION TO somenumber. I do not want SomeNumber to be the same DS number as one already in existence.
>>>>
>>>>How about SET('DATASESSION')??
>>>>
>>>>Thanx!
>>>>
>>>>Tony Miller
>>>>Vancouver, Wa
>>>
>>>duh!!! brain-dead, time to go home.
>>
>>
>>No problem.. I have the same problem all the time.. Now how about having to work on an app that has to keep track of those used datasessions and pass them as parameters?? I am (What a pain in the %^#*%# !!)..
>>
>>Thanx!
>>
>>Tony Miller
>>Vancouver, Wa
>
>Do you know if we can SET DATASESSION TO SomeNumber that has not been, for lack of a better word, "USED" yet? I guess that is why you are passing them as parameters.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform