Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Requerying a view with a view parameter
Message
De
14/09/2000 07:34:20
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00416208
Message ID:
00416274
Vues:
29
Greg,

This looks correct. I assume your page 2 view uses ?vp_iFacilityKey as a parameter.

I generally use type 3 requery type for lookup tables, but you are, presumably, using the page 2 grid as a child of page 1. If this is correct, you should have the business objects in a Parent/Child relation and probably requery page 2 based on page 1.

HTH

Rex

>OK, so I have MM form with two tabs. On each page is a bizobj and a grid.
>
>The second page grid's data environment is a parameterized view, and it is set to autorequery on activate of the page. (type 3)
>
>All I want to do is take the primary key selected from the grid of the first page, and use it as the parameter for the second page.
>
>I cannot seem to set it up so that the parameter is passed when the grid is click.
>
>I have an addviewparameter('vp_ifacilitykey' , 'v_Facility.iFacilityKey) in the post init hook of the BizO, but I don't know if this is correct.
>
>Should I tie them together with the parent/child settings of the two biz objects? The First Grid is read only, so maybe I should just have one bizo with two data environments?
>
>I am not sure how I should tie these things together.
>
>Greg
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform