Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find form not updating CBizObjNoListMaintForm
Message
From
28/12/1998 11:20:02
Ed Gay
Computer Software Consultants
Bangor, Maine, United States
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00170719
Message ID:
00170792
Views:
27
>Ed,
>
>> I've been following the Mere Mortals Guide and have the CBizObjNoListMaintForm bringing up the find form and I can find a record but when I select the record and return to the calling form I get a VFP window asking for the query param? It looks like the seach form is not returning the key to the calling form. I've looked over the documenetaion for both forms I can not see what I've left out.>
>
>The reason VFP displays this message is because it can't find the view parameter variable that you have specified in your view definition.
>
>Have you set the "cPrimaryViewParameter" property to the name of your view parameter?
>
>When you click the Find form's Select button, the following events occur:
>
>1. The value in the selected record’s unique ID field (specified in SearchListObj.cUniqueIDField) is stored in the calling form’s cFindUniqueID property.
>
>2. The calling form is activated. The form’s Activate method detects that a value is stored in cFindUniqueID and calls its FindProcess method.
>
>3. FindProcess takes the value stored in the form’s cFindUniqueID property and stores it in the view parameter specified in the cPrimaryViewParameter property.
>
>4. The form’s primary business object is requeried, returning the single record that was selected in the Find form.
>
>Regards,


I'll check to make sure I've done all this, but I must go to a clients site this afternoon so I will not get a chance to do this until late tonight or tomorrow.

Ed
Previous
Reply
Map
View

Click here to load this message in the networking platform