Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Datasession and audit log
Message
From
28/10/2003 08:54:55
 
 
To
28/10/2003 08:31:28
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00843480
Message ID:
00843491
Views:
25
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform