Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing DataSessionID's
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Passing DataSessionID's
Miscellaneous
Thread ID:
00157306
Message ID:
00157306
Views:
61
Hi all,

I thought I had accomplished this before (maybe I hadn't), but I'm trying to launch Form2 from Form1 and pass it Form1's DataSessionID. Both forms are in PrivateDataSessions. I'm passing form1's reference to form2. In the init of form2, I've tried this:

1) This.DataSessionID = poCaller.DataSessionID

2) Set DataSession To poCaller.DataSessionID

After either of those (or whatever you can give me that will work <g>), I'm looping through the controls and setting the control sources to the fields of a table that's open in form1. I keep getting "Variable Does Not Exist" or such.

Any Ideas?

TIA,

PS I'd prefer not to have to switch over to a formset.
_________________________________
There are 2 types of people in the world:
    Those who need closure
Next
Reply
Map
View

Click here to load this message in the networking platform