Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
.AddViewParameter still driving me nuts
Message
From
16/09/1999 13:19:52
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00265539
Message ID:
00265542
Views:
18
>I thought I had this fixed but I dont unfortuantly. Ver4.2
>
>I have BizObj sublcass defined as setrates_audit_list, and I set it up with a custom property called nRateYear. In the properties window it shows nRateYear listed for the setrates_audit_list container. Thru the builder, I set auto primary on, and created a data environment with one single view. The view is parameterized using vp_RateYear (yes I spelled it right this time :) ) In the data environment's PostInitHook I coded
>This.AddViewParameter('vp_RateYear','This.nRateYear')
>
>From the command window I run
>
>SET PROC TO SETUP
>DO SETPROCSANDLIBS
>loObj = CREATEOBJECT('setrates_audit_list')
>
>as soon as it hits the PostInitHook it errors with "This property is not found." I dont get it, I've taken 2 steps back and done it all right by the book and it's still not happy. What am I doing wrong?


I don't use nor seen MM Roxanne. So I'm shooting in dark. If misses the target simply ignore :)
Qutoes around This.nRateYear ? It might be true, just thinking.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform