Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error after upgrade to MM8
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00874800
Message ID:
00875014
Vues:
17
John,

>I get error property NODATAONLOAD is not found after upgrade to MM8 at line
>in method CBizObjMaintBaseForm.pgfBizObj.Page1.Activate()
>
>
> 	   IF NOT ThisForm.oBizObj.nRequeryType = 4
>		   LOCAL loDA
>		   loDA = ThisForm.oBizObj.GetDataEnvironment()
>  		   *--- Only requery if NoDataOnLoad is True. If it's false,
>		   *--- there's no need to requery since the data's already loaded
>		   IF loDA.NoDataOnLoad           && ERROR
>			 ThisForm.Requery(.T.,.T.)
>		   ENDIF
>	   ENDIF
>
>I have go thru the What's new doc but I can't see any changes on this.

Hmmm...it looks like your source code has been changed...the code that retrieves an instance of the data access object should be:
loDA = ThisForm.oBizObj.GetDataAccessObject()
You're getting the error because your source code is calling GetDataEnvironment() rather than GetDataAccessObject().

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