General information
Category:
The Mere Mortals Framework
Title:
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) :)
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only