Information générale
Catégorie:
The Mere Mortals Framework
Titre:
View parameters going out of scope
Hi all,
I have a bizobj based on kbizobj that has a pageframe based on cpageframe on it. In the bizobj's postinithook method has the following code:
THIS.AddViewParameter('vp_NoteType','This.cnotetype')
THIS.AddViewParameter('vp_LastNoteDate', ;
"IIF(this.lreminders, DTOC(DATE()), '01/01/2100')")
THIS.AddViewParameter('vp_ReadStatus', ;
"IIF(this.lreminders, 'N', '_')")
The view is expecting these three parameters. When I run the app, I get the VFP box asking me to enter the parameters. I traced through the program and found that when kbizobj executes - lnRetVal=This.obehavior.requery() - the view parameter variables go out of scope. When the data behavior object (ctablebehavior) returns to the kbizobj.requery(), the come back into scope.
What am I missing?
Thanks ----P.S. I AM going to one of Kevin's classes, so maybe some of my dumb questions will stop in the future. (Probably not, but it sounded good) :)
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