Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
View parameters going out of scope
Message
De
01/04/1999 14:18:09
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
View parameters going out of scope
Divers
Thread ID:
00204389
Message ID:
00204389
Vues:
47
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
Fil
Voir

Click here to load this message in the networking platform