Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Run class function from Report
Message
 
 
À
19/10/2009 14:35:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Divers
Thread ID:
01429914
Message ID:
01429916
Vues:
66
>I want to execute class's function within a report called from that class.
>
>I am calling this on Page Footer Entry:
>IF PEMSTATUS(ThisForm, 'mvalidatebarcode', 5) ThisForm.mValidateBarcode(ufdcode) ENDIF
>
>but the report fails. What's wrong?
>
>Thanks

Try to use IIF instead in the Expression.

E.g.

IIF(pemstatus(...), thisform.mValidateBarCode(udfCode),"")

it should return the same value as your method.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform