Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best practices using ExecScript()
Message
From
17/03/2006 16:44:17
 
 
To
17/03/2006 14:08:58
Spencer Redfield
Managed Healthcare Northwest, Inc.
Portland, Oregon, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows NT
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01105393
Message ID:
01105442
Views:
18
Hi Spencer!

Like Dragan suggested.

As you don't have all the environment at hand within Execscript code, you should use some globally known object like goApplication or one of it's members. May it be a form handler, may it be something else. That works.

Keep the execscript part short. You have less possibilities of debugging. For example COVERAGE will log lines of the execscript code as being part of the FXP file execscript generates and executes, which is totally correct and true. But if afterwards you read in the log with the Coverage Profiler, it does not find these FXP files, as they are temp files.

Bye, Olaf.
Previous
Reply
Map
View

Click here to load this message in the networking platform