Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ExecScript + ThisForm
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00797642
Message ID:
00797650
Vues:
20
This message has been marked as a message which has helped to the initial question of the thread.
Rodolfo,

You can use code like this in the report:

iif( type( "_screen.ActiveForm.Title" ) != "U", _screen.ActiveForm.Title, "not running from a form" )

>It works great too... The problem is, inside MeuRelatorio, I have one field that need read a property from the form. Example:
>
>ThisForm.Title
>
>When VFP runs it, I received a message erro like "ThisForm just be called from a method")!
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform