Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CListObj and .AddViewParameter()
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00265175
Message ID:
00265459
Views:
17
> This doesn't really answer your question, but if you're going to hardcode it like that, why not just include it in the view?

hardcoding was just for development... development dbc isn't necessary fully loaded with all years data. Since all the pages in the form pretty much look the same I just wanted to get the first one working then hammer out the rest.

> You could try (if you haven't already):
>This.AddViewParameter('tnRateYear','"1999"')

One of my first thoughts, still returns "property not found"

> I get the feeling though you'll have to do something like a VAL(tnRateYear) in your view.

Thank you Paul, that was a good thought but VAL doesn't work becuase it needs to return a expression (it kicks back "Function argument value, type, or count is invalid") I tried STR(1999) but still get the error "Property not found".

I've thrown out the CListObj in frustration and went back to a CGridList inside of a container. No matter what I do it doesn't seem to like This.AddViewParameter(...) in the DE's post init hook. What's really frustration is I've made this work before! The only difference with this form is that it is a pgframe contained inside of a pgframe. Go figure... time to start a fresh thread that lays out everything I've tried so far with CGridList I guess.
Roxanne M. Seibert
Independent Consultant, VFP MCP

Code Monkey Like Fritos
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform