>Hi all,
>a silly one that I can't square away. I have a program prg1 that has some useful functions. I want to use these functions in program prg2 but if i use set procedure additive I get errors when calling the functions. I can issue the command do prg1 at the top of the program prg2 and I can then use the functions. Am sure there is a better/proper way to open up prg1 and it's functions so I can use them in pgr2 but drawing a blank.
Check your paths - make sure you don't just say "set procedure to prg1 additive" but "set procedure to some\relative\path\prg1 additive", where the path is relative to your app root (i.e. where your .pjx is and where you sit when you run). Also, VFP will not look for .prg, really, it will look for .fxp, so make sure you got one.