Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Datasession and audit log
Message
De
28/10/2003 08:54:55
 
 
À
28/10/2003 08:31:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00843480
Message ID:
00843491
Vues:
26
>Hi,
>I am developing an auditlog object. It is initiated in main.prg and referenced as public/private variable. I have problem if updating table in private data session (form).
>
>How my auditlog object determine curent datasession and "switch" accordingly? Or, any other suggestions?
>
>Thank you

John,

You'll have to pass an extra parameter to your object's method that identifies the datasession it is in.

For forms: thisform.DataSessionId

If there's no Form/Formset/Toolbar: set('DataSession')

Your object can then switch to that datasession, do its work and restore its original datasession prior to returning
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform