Command Line

Billy_F

Member
I'm testing QueryReporter from the command line and I can't get the HIDE or variable switches to work. If I understand the documentation correctly HIDE is suppose to not display the application. I am using a variable in my where clause but I'm also passing in a variable on the command line. The command I'm executing is QueryReporter.exe exec=myreport.rep &unit=ABC html=myreport.html hide. Any suggestions???
 
There are 2 issues here:
  1. The order of the parameters is important. If you want to assign a value to a variable and execute a report, you must use that order.
  2. Due to the ampersand, the variable value assignment needs to enclosed in double quotes.

Code:
QueryReporter.exe "&unit=ABC" exec=myreport.rep html=myreport.html hide
 
Marco, Thanks that did the trick. I'm can now run my query report from the command line without the application appearing.
 
Back
Top