Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ExecScript + ThisForm
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
ExecScript + ThisForm
Miscellaneous
Thread ID:
00797642
Message ID:
00797642
Views:
63
Hi!

I have a form with one method called Impressao.
In this method, I have one line like this:
ExecScript(FileToStr("Relatorio.PRG"))
The instruction works fine... The file Relatorio.PRG has something like that:
Report Form MeuRelatorio To Printer NoConsole
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")!

How to round it?

[]s
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rodolfo Duarte
Next
Reply
Map
View

Click here to load this message in the networking platform