Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Jump Start Woes...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00103781
Message ID:
00103833
Vues:
24
>I am trying to run the Staff form I created duing the tutorial and I am getting the following error...
>
>Error 1925 ... Unknown member REFBIZOBJ
>Line 61
>Code: This.RefBizObj.Add(toBIzObj)

>I think I may be putting the Bus Object in the wrong place.. does it really go in the page one pageframe? OR, should it go on the form?>

Typically, you should place the business object on the Page on which it is needed. For example, if the UI controls on page 1 reference view fields loaded by a particular business object, you should place the business object on Page 1. Another example...If only the controls on Page 3 reference the view fields loaded by a particular business object, you can place the business object on Page 3.

You are probably getting the "Unknown Member RefBizObj" error because your business object is instantiating before the form's RefBizObj. Check out the section "A Word About Zorder" in the Mere Mortals Developer's Guide for more information. You may also want to check out the section "Automatic Requery of Views".

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