Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What DS # am I in?
Message
De
03/12/1997 19:01:56
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00063638
Message ID:
00063671
Vues:
55
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform