>I put this function in my stored procedures, i get an error when i try to call the program it says cant find feecalc.prg when it gets to this line in my code.
>this is a test program i wrote just to test the passing of varibales from this and back to this program.
>
If you mean that you put the function in the stored procedures of a database, then that database must be open and current for VFP to be able to find the function.
OPEN DATABASE Whatever
and
SET DATABASE TO Whatever
Erik Moore
Clientelligence