Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
View parameters going out of scope
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00204389
Message ID:
00204446
Views:
18
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform