Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pass a cursor to a form which has Private Datasession
Message
From
26/01/2005 20:40:03
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
26/01/2005 20:34:22
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Miscellaneous
Thread ID:
00981060
Message ID:
00981061
Views:
28
You can make Form B use the same DataSession as Form A. I think to remember there were some prerequisites; changing the DataSessionId (equal to the DataSessionId of Form A) before you process any data or something.

>Beginning to learn about private datasessions ---
>
>I have a problem with the interaction of two forms, both of which have private datasessions.
>
>Form A shows a grid with calculated data for all parts in our system. All parts are assigned a "class ID". There is a simple cursor which allows the user to select which class IDs are visible. (Only two fields in this cursor: class ID and Y/N flag).
>
>The user can invoke Form B from a pop-up menu. This form contains the relevant information which is editable for each part.
>
>What I'd like to be able to do is to have the list of items in Form B that appear to be the same as those as the user saw on Form A. I don't know how to do this, as I don't know how to pass my simple two-field cursor from Form A to Form B.
>
>Suggestions?
>
>Thanks,
>Jim
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform