Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Kmoverobj and multiple bizobjs
Message
De
18/09/2001 22:27:37
 
 
À
18/09/2001 18:37:24
Chuck Berry
Copper State Bolt & Nut Co.
Phoenix, Arizona, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00558126
Message ID:
00558172
Vues:
14
>Hi Everyone,
>
>I'm trying to design a form that lists a parents bizobj's contents on page 1 and on page 2 I have a kmoverobj that populates another bizobj (child).
>
>This is all similiar to the security form in the framework.
>
>I believe I have the Addviewparameter set up correctly, and I also have set "Requery child on requery parent" set. However, when I move to the second page, I get error saying the parents view is not found.
>
>To be specific:
> Error 12, Variable 'View Name' is not found.
>
>The addviewparameter: This.AddViewParameter('vp_variablename','v_Viewname') - the View Name is the parent's bizobj's view.
>
>If I uncheck the requery child on requery parent, I do not get an error, but I also don't get the child's view refreshed. It adds records to the database as expected.
>
>Any ideas? Should I call the requery manually? How would I do this?
>
>Thanks,
>
>Chuck

Chuck,

Try this: This.AddViewParameter('vp_variablename','v_Viewname.iid')

You need to specify the primary key to get this to work.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform