Posted by Jon Sacks on April 11, 2006 at 06:01:36:
In Reply to: Re: Generate report from command line posted by Wojciech Dunski on April 10, 2006 at 20:44:36:
The script file invdl.csf*
[blind password]
QREPORTS
$INVDL
DOS
Report Specification
INPUT MYFILE
ERASE INVDL.CSV,TMP
PRINTER INVDL.CSV,TMP,H
TITLE THIS IS MY EXPORT REPORT
SELECTING IF MYRECORDS EQ "YES"
SORT ON MYRESULTS
PRINT MYNAME,MYADDRESS,MYCITY,MYSTATE
LAUNCH C:\COMET\CATEMP\INVDL.CSV
RUN QMONITOR
*Note: If you want to be able to simply click on the file entry you will need to add [.csf] as a file extension associated with Comet as a script file in Windows Explorer (tools/folder options/file types the dde is: and Open \\[comet path]\cosw.exe /pn=[userid] /keyfile="%1".
JSACKS<<