General information
Category:
The Mere Mortals Framework
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only