Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Missing Requery Parameter
Message
From
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:
00341746
Views:
39
Hi Roxanne,

I am confused. 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. Neither are set up as local variables.

At the time the postinithook() fires there is no data on the form so all fields are blank. After the form is instantiated 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.

This.parent.obizobj.dDate = ThisForm.Adatetextboxl1.DateTextbox
This.parent.obizobj.Requery()

My explaination here:
('This.parent.obizobj.dDate' equates to This.ddate)
('ThisForm.Adatetextboxl1.DateTextbox' equates to the date text box)


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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform