Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refresh button causing error..
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00129772
Message ID:
00129915
Vues:
22
BOb,

>When pressing the refresh button on the tool bar I get operator/operand type mismatch. I set up view paramaters as so...
>dimension this.aViewParameters[1,2]
>
>this.aViewParameters[1, VPARM_NAME] = 'vp_iID'
>this.aViewParameters[1, VPARM_EXPR] = 'thisform.cFindUniqueID'
>
>I am assumeing this is due to using Integer keys...?

Based on the view parameters you have set, if you press the refresh button in the toolbar (which eventually runs the active form's primary business object's Requery()) you need to set the default value of cFindUniqueID to an integer (perhaps 0?).

>Is there something I am missing? Should the refresh button be disabled if _screen.ActiveForm.oPrimaryBizObj.lnoRecords is true?>

You can't really disable it on this condition, because although the business object may have no records at the moment, Requerying may return a result set.

>PS: Any chance at getting a beta of MM 6.0 ? Or just the docs even?

Definitely...I'll be sending you an e-mail.

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