Page 1 of 1

RRW.EXE Parameter

Posted: Wed Sep 11, 2002 1:30 pm
by Dutch
Dear All,__How can I use RRW.EXE parameter to retreive report format from my application. In the past I used to call this command but today is not work.__""RUN RRW.EXE REPORT.RP1 TESTRPT /R"__I use FiveWin and Clipper__Thanks in advance,__Pairat N.__

=> RE: RRW.EXE Parameter

Posted: Wed Sep 11, 2002 5:38 pm
by freitas
[updated:LAST EDITED ON Sep-11-02 AT 05:41 PM (EST)]RUN RRW.EXE REPORT.RP1 TESTRPT /R____What version of R&R are you using. RP1 indicates the first DOS version. ____You might want to try using RRWRUN.EXE instead of RRW.EXE____If clipper is like dBase,the code I use in dBase is:____run( .t.,"rrwrun.exe rrwrunin.dbf n" ) ____the rrwrunin.dbf is a report control file that holds all my report names the n is the record number in the control file

=> RE: RRW.EXE Parameter

Posted: Wed Sep 11, 2002 8:37 pm
by kfleming
To launch RRW.EXE and open a report in a report library you need to use the /L switch to name the report library and then the /R switch followed by the name of the report. So your command line would be:____"RUN RRW.EXE /LREPORT.RP1 /RTESTRPT" ____I just tried this using a report that was in an RP1 file and it worked fine for me.____Kathleen__R&R Support

==> RE: RRW.EXE Parameter

Posted: Thu Sep 12, 2002 1:24 pm
by Dutch
Dear Kathleen,__I think this command should be ok. If I try to retrieve the report in Windows xbase version 8 from inside of clipper application. Should the command be like this?____WinExec(^RRW.EXE /LREPORT.RP5 /RTESTRPT^)____Thanks in advance,__Dutch

==> RE: RRW.EXE Parameter

Posted: Fri Sep 13, 2002 4:36 am
by Dutch
Dear Kathleen,__I try and it works perfectly.__Thanks with regards,__Dutch