Bill,
>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.>
vp_ddate isn't created as an object. It's simply created as a private variable in the business object's Requery() method. Usually, the only time the "View parameter" dialog appears is when the view parameter variable does not exist (i.e. vp_ddate).
If you're *absolutely* sure the variable exists, I recommend the following:
1. In the VFP Command Window enter: vp_ddate = DATE()
2. Next, USE the view: e.g. USE lv_MyView
Does the "View Parameter" dialog appear? If so, there may be something *funky* going on with your view.
Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com