Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using parameterized view with pageframe
Message
From
12/01/1999 11:46:21
 
 
To
12/01/1999 11:39:29
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00175079
Message ID:
00175083
Views:
32
>I set up a parameterized view so that I could display a grid on a pageframe of a form. When I run the form, I get a box prompting me for the parameter(social security number). This needs to work a little differently. On my pageframe there are 4 pages. The first pageframe allows the user to enter a social security number, which is used to display information on each of the other pages. How do I get rid of the box that prompts for the social security number, and take the parameter for the view(page 4) from the user entered social security number on the first page.

Firstly you open the form without loading the view: DE.Cursor.NoDataOnLoad=.T.
Then in GridPage.Activate event you do something like:
cSSN=this.parent.firstpage.txtSSN.value && assuming that view definition include ?cSSN
=Requery("MyView")
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform