Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using parameterized view with pageframe
Message
De
12/01/1999 11:46:21
 
 
À
12/01/1999 11:39:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00175079
Message ID:
00175083
Vues:
33
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform