Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replacing Control Source in a form
Message
From
28/04/1999 14:34:01
 
 
To
28/04/1999 14:31:22
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00213105
Message ID:
00213106
Views:
30
If the child form references data from the parent, it can be directly reference in controlsources without having to reopen anything if the datasession in the child form is set to Default (NOT Private).

You won't get the lookup when selecting a controlsource from the Props sheet, but you can type in cursor.field and it'll work fine.


>
>Scenario>
>
>I have created a form with combos that searches an office. On this form is a cmd button that fires a form with a grid. When a user selects their choices in the search form and presses the GO cmd button, the form fires and displays all the information that about the OFFICE the user selected (in the grid).
>
>
>Concern:
>I do not want to have a grid pop up on a form (which is fueled by a pview) when the user hits the GO cmd button, to see all information pertaining to their selection.
>
>I want to have my OFFICES FORM pop up with the "office" the user selcted -- as the current record.
>
>QUESTION: Can I simply copy my OFFICES FORM and place the pview that works the grid, into the control source of the OFFICES FORM? Then, in theory, I could call my OFFICES FORM from my search form, and the office the user selected in the search form would be displayed.
>
>Is this a viable solution, or should I approach it from another angle (meaning, this is crazy!!!)?
>
>Just curious!
>
>Thanks for any input
>
>Jason
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform