Joe,
Run your program (or procedure) like this:
llSuccess = myprog()
or, you can do this:
if myprog()
else
endif
>I am calling a prg from a form using:
>
>do myprg
>
>After the prg has finished running I want it to return a value letting me know whether or not everything was successful. If something failed in the prg I put a Return .f., if it was successful I put a Return .t.. How do I accept that return value into the calling form? Am I even doing this properly?
>
>TIA!
Steve Gibson