Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FILE() problem
Message
 
 
To
17/07/2002 10:02:58
Alan Harris-Reid
Baseline Data Services
Devon, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00679449
Message ID:
00679618
Views:
20
Alan,

>It's a safety measure. Some programs are called via macro subsitution, and therefore not automatically pulled into the project. I wanted to display a user-friendly message rather than have the app 'fall-over' if the program did not exist.

Use a function like this somewhere in your code to make sure the project gets everything it's supposed to:
function ForProjectManagerOnly()
if .f.
   Thing1()
   Thing2()
endif
endfunc
Just list all of the routines you call via macro and you are set.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform