Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Functions
Message
From
25/10/2001 17:13:03
Charles Richard
Nvo Management Systems
Boisbriand, Quebec, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00573410
Message ID:
00573412
Views:
24
Put the following command in the forms load or in the program calling the form:

SET PROCEDURE TO MyFunction.prg
HTH
>I have a prg file (myfunctions) that contains functions for example:
>
>&&MyFunction.prg
>FUNCTION callmyfunction1 ( parm1, parm2)
> retval = parm1 * parm2
> return retval
>
>FUNCTION callmyfunction2 (parm1, parm2)
> retval = parm1 / parm2
> return retval
>
>
>
>How can I access callmyfunction1 function from my forms. I did the following and it didn't work and error message was displayed file 'callmyfunction1' does not exist.:
>
>retval = callmyfunction1 (parm1, parm2)
>
>I'm I going about this all wrong?
>
>Thanks
>Nick Patel
Charles Richard
NVO Management Systems
crichard@nvo.ca
Previous
Reply
Map
View

Click here to load this message in the networking platform