I want to create a util program that can be accessed anywhere in the program. Is there a way to access the program's any functions without calling DO <program name> first?
one simple solution is to store your commonly used functions/procedures in one procedure file (usually a .PRG file that you may call MyProcs.prg) and issue SET PROCEDURE TO MyProcs.prg somewhere in the very first few lines of any of your apps. you may then call any function/procedure within you program that is contained in you MyProcs.prg. if you want, you may refer to the SET PROCEDURE command in vfp's help index.
hope this helps. peace!
kilroy
philippines
"If the automobile had followed the same development cycle as the computer, a Rolls-Royce would today cost $100, get one million miles to the gallon, and explode once a year, killing everyone inside."
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.