Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Missing Requery Parameter
Message
 
To
04/03/2000 16:47:10
Bill Breay
Custom Business Software
Arvada, Colorado, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00341685
Message ID:
00341784
Views:
39
> I set a breakpoint at the postinithook()and the 'AddViewParameter' fired and set up an array with 'vp_ddate' as one element and 'This.dDate' as the other element.

ok so far so good, each row in the array represents the parameter name (vp_ddate) and it's value (This.ddate)

> the date is entered into a date field and into 'This.dDate' by a line of code I have set in the Interactive change method of the date field. Immediately after this line of code I issue the line of code to requery the view.

>I then requery the view. It is during the requery process that MM establishes the vp_ddate as an object and load the date from 'This.ddate' into the value of vp_ddate. BUT the requery apparently does not reference the object vp_ddate. There is no variable or property named vp_ddate. The value property of the object vp_ddate contains the value of the date I have entered in the form field.

weird... This.AddViewParameter('vp_ddate.value','This.ddate') should make it work.
Roxanne M. Seibert
Independent Consultant, VFP MCP

Code Monkey Like Fritos
Previous
Reply
Map
View

Click here to load this message in the networking platform