Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Missing Requery Parameter
Message
From
04/03/2000 12:39:34
 
 
To
04/03/2000 12:31:58
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:
00341686
Views:
29
>Hi All,
>
>I have set up a subclass of a cbizobjnolistmaintform with a bizobj. The bizobj references a view of a single table. I want to select records from the table based on the date of the record. Each record has a unique primary numeric key and a unique date. In the postinithook of the bizobj I have entered the recommended code:
>"This.addviewparameter('vp_ddate','this.ddate').
>This.ddate contains the date I want and when I trace the code through the bizobj requery method vp_ddate also contains the date I am looking for.
>
>As soon as the requery is started the dialog box "View Parameter" pops and asks for the value for vp_ddate.
>
>The filter in the view is set for the view date to = ?vp_ddate.
>
>What am I missing?

immediately before each Requery, issue:

vp_ddate = this.ddate

vp_ddate is likely falling out of scope.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform