Information générale
Catégorie:
The Mere Mortals Framework
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement