Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Change datasession at run time
Message
De
25/02/2003 11:48:56
 
 
À
25/02/2003 10:20:26
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00757479
Message ID:
00757618
Vues:
16
>Till you change the session back you'd be seeing default data session (_screen's).
>Cetin

Careful, Cetin. Default DataSession doens't necessarily mean _SCREEN's datasession. If you call up your form with the Default DataSession from a Private DataSession form, it will be using the same datasession as the form that called it.


>>Hi Cetin, thanks for your reply.
>>
>>>But still you can't move the cursors between sessions (you can move arrays
>>
>>I'm not sure if I follow.
>>Does this mean that ,If I change the data sesion in code, My Form will be able to 'See' my cursors as if it were a default data session ?
>>
>>regards,
>>
>>Gerard
>>
>>
>>
>>>>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
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform