JmichaelSR
Programmer
I have written a FOXPRO program which will select an Invoice from an Invoice Header File, build a key with which to access an Invoice Detail File, and call an Invoice Detail program passing the key as a parameter.
In the Invoice Detail program, I have coded an "EXIT" routine to send control back to the Header Program by issueing a "RETURN TO arhdrscr.scr" command. Return to the Header program is accomplished but control is returned to the BEGINNING of the routine that has ALREADY excuted and processing is HALTED. A Keyboard entry of some kind is required to continue.
How can I return to a point in the calling program just past the last command that was executed (the last command executed in the calling program was "DO invdscrn.spr WITH detrec)? Also, how can I cause processing to continue without a halt?
Any help anyone could offer would be greatly appreciated.
Thank You,
Mike Clark
Programmer/Analyst
Mississippi State Fire Academy
In the Invoice Detail program, I have coded an "EXIT" routine to send control back to the Header Program by issueing a "RETURN TO arhdrscr.scr" command. Return to the Header program is accomplished but control is returned to the BEGINNING of the routine that has ALREADY excuted and processing is HALTED. A Keyboard entry of some kind is required to continue.
How can I return to a point in the calling program just past the last command that was executed (the last command executed in the calling program was "DO invdscrn.spr WITH detrec)? Also, how can I cause processing to continue without a halt?
Any help anyone could offer would be greatly appreciated.
Thank You,
Mike Clark
Programmer/Analyst
Mississippi State Fire Academy