RRW.EXE Parameter

Meeting place for R&R customers and clients to share tips and ideas. Post your questions, messages or problems here.
Post Reply
Dutch
Posts: 57
Joined: Tue Oct 10, 2017 12:44 pm

RRW.EXE Parameter

Post by Dutch » Wed Sep 11, 2002 1:30 pm

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.__

freitas
Posts: 68
Joined: Tue Oct 10, 2017 12:44 pm

=> RE: RRW.EXE Parameter

Post by freitas » Wed Sep 11, 2002 5:38 pm

[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

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

=> RE: RRW.EXE Parameter

Post by kfleming » Wed Sep 11, 2002 8:37 pm

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

Dutch
Posts: 57
Joined: Tue Oct 10, 2017 12:44 pm

==> RE: RRW.EXE Parameter

Post by Dutch » Thu Sep 12, 2002 1:24 pm

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

Dutch
Posts: 57
Joined: Tue Oct 10, 2017 12:44 pm

==> RE: RRW.EXE Parameter

Post by Dutch » Fri Sep 13, 2002 4:36 am

Dear Kathleen,__I try and it works perfectly.__Thanks with regards,__Dutch

Post Reply