> 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