Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Caller Datasession ID
Message
De
06/12/2001 13:41:30
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00590674
Message ID:
00590710
Vues:
27
>Cetin,
>
>This is exactly the response I was afraid of hearing :(
>I am porting a legacy application which had some procedures/functions that I am trying to put into classes. Ok, the problems are arriving and we have to face them ;)
>Thanks!

Oh if you mean an old application was calling a prg and you need to know caller form's datasessionid than you could use program(0) to identify the caller. If its instance is single and formname is unique you could get the reference from _Vfp.objects collection (too much luck for a class - maybe _screen.activeform might be a shortcut). However if caller is also setting private sessions within its form than no chance sounds to be left other tha passing sessionid :(
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform