Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can FP 2.6 auto close after app runs?

Status
Not open for further replies.

peobody

Technical User
Sep 5, 2001
24
US
I have been starting our accounting system by specifying the .prg in the FOXPROW command line. Problem is every time we exit the accounting system we them have to quit out of Foxpro. Is there a way to have Foxpro close upon exiting the accounting system or is this something that would have to be hard coded.

 
And the end of your program, issue the command:

QUIT

That will exit it.
 
it is a simple change to a program but you will have to know what to change in the program source code. It requires the perso to find the correct command
"Return"
and change it to the command
"Quit"
I recommend you find someone familiar with code to do the change.
David W. Grewe
Dave@internationalbid.com
 
Or you can make another little .prg say, do_acct.prg that says:
Code:
DO account  &&... or what ever the name of the   
            &&... accounting program is.
QUIT

Replace the .prg in the command line with the above one.

Dave S.
 
Actually was pretty easy to find the appropriate "Return" command and change it to "Quit". My programming education (not about to admit how many years ago) was in Cobal, Fortran and some Assembler so I was able to follow the logic once I opened her up. Just didn't know what to look for. Thanks to all!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top