Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What DS # am I in?
Message
 
To
03/12/1997 17:13:33
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00063638
Message ID:
00063702
Views:
72
>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

Tony, I'm jumping in without all the facts, but are you passing the datasession to another form to match the data? If so, it might be easier to pass just the form object (do form2 with thisform) then store the 'thisform' object to a property in the INIT.
** INIT code
parameter oOldForm
Thisform.oOldFormProperty = oOldForm
** End
That way you can refer to the Form1 datasession with
nID = thisform.oOldFormProperty.DatasessionID
Also, you can run through the open forms using _screen.controlcount to check active DSIDs

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform