Mark,
Put a return value in the RETURN statement in your highest-level prg or form:
RETURN MyReturnValue
>I have one VFP .EXE that calls a separately compiled VFP .EXE. How do I get a return value from the called .EXE in the calling .EXE?
"It hit an iceberg and it sank. Get over it."
Robert Ballard, dicoverer of the Titanic wreckage.