Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What DS # am I in?
Message
De
03/12/1997 23:02:38
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00063638
Message ID:
00063706
Vues:
54
>>>>>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.

I would think you could set datasession to like 99, but really don't know why.. Why not just let the form determine what a free one is (using private datasession property on form..)

See my reply to Barbara about why I am doing the parameters of data session and form #..

Thanx!

Tony MIller
Vancouver, Wa
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform