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:
00343039
Views:
43
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform