Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ExecScript + ThisForm
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00797642
Message ID:
00797650
Views:
21
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
Previous
Reply
Map
View

Click here to load this message in the networking platform