[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: SQRW message



Jerry,

********************
I run SQRW from another application (Visual Basic/Visual FoxPro).
I send all necessary parameters and everything works fine, except
a little problem
SQR program runs in DOS window and at the end I receive a message:
Press <Enter> to close...
So my question is: how can I get rid off this message programmatically,
what program (SQC) calls it etc.
Any idea would be very appreciate.
TIA.
Jerry
********************************

Try launching it using START.EXE  -  here is an example of how I use it
from a .cmd file:

start /wait %sqrbin%\SQRW.EXE %sqrpath%\REPORT.SQR %mxdb%/%mxopr%/%mxpwd%
-i%sqrpath%\ -m%sqrpath%\allmaxes.max -O%LOGPATH%\ENNISITM.LOG -f%LOGPATH%\

-ZIF%sqrpath%\pssqr.ini -XMB < %sqrpath%\cr.txt

I use a .CMD file because I run about 6 SQR's sequentially, hence the /WAIT
 command.  I can also
define environment variables for pathing and other static params.


David L Smith
IBM Global Services