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?
Roxanne M. Seibert
Independent Consultant, VFP MCP
Code Monkey Like Fritos