Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find form not updating CBizObjNoListMaintForm
Message
 
À
28/12/1998 08:55:42
Ed Gay
Computer Software Consultants
Bangor, Maine, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00170719
Message ID:
00170775
Vues:
25
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,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform