Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
View parameters going out of scope
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00204389
Message ID:
00204446
Vues:
17
>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', '_')")
>

I don't know why it's prompting you for all three parameters, I would have guessed only the second two. I think the problem is that you're expecting the second part of your view parameter to be evaluated by the framework. From what I've seen, that's not what happens (it's expecting a value or variable reference). Try removing the quotes.

BTW - is your vp_LastNoteDate really a character value (and not a date)?

-Paul
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform