/M option in Runtime

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

/M option in Runtime

Post by Claude_(Guest) » Fri Jul 09, 2004 3:46 am

Hi,____I want to run a report with the /M command switch for unattended email bursting. Have full version of R&R 10+ on my Win 2000 computer.____I try to apply the command line switch but failed until now.____In the Developing Applications documentation is stated as followes:__RRWRUN.EXE /M<reportname>____Does this mean that you can^t use a control table ?____E.g. is following statement correct :__RRWRUN.EXE RRWRUNIN 1 /Mc: rwreports est.rrw__(where the first record in rrwrunin corresponds to c: rwreports est.rrw ??)____or will this fit:____RRWRUN.EXE /Mc: rwreports est.rrw____Are other settings in the control table necessary to run the report with this option ?____Thanks,____Claude

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

=> RE: /M option in Runtime

Post by kfleming » Fri Jul 09, 2004 3:58 pm

You are correct that you cannot use a control table.____And the report will be run with the export/mail settings that are saved in the report.____Kathleen__R&R Support

Robertclade
Posts: 0
Joined: Fri Apr 13, 2018 10:43 am

==> RE: /M option in Runtime

Post by Robertclade » Thu Sep 09, 2004 5:31 am

Hello,____Can /M be used on Report runner at the same time as other command switches such as /D /I /T /U And /P. ?____At present our sysstem uses all of the above switches and I would like to use /M as well. I have R&R 10+. Is this possible or does /M only work by itself?

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

===> RE: /M option in Runtime

Post by kfleming » Fri Sep 10, 2004 6:55 am

You can use other runtime command line switches along with the /M____Kathleen__R&R Support

Robertclade
Posts: 0
Joined: Fri Apr 13, 2018 10:43 am

====> RE: /M option in Runtime

Post by Robertclade » Tue Sep 21, 2004 11:57 am

Hello again and thank you for the quick response to my last question.____I wonder if you could help with the problems I am having with the /M Switch.____I am calling the RSWRUN.EXE though visual basic using the Shell command. I have successfully got this to work Using /M /U and /P.____However I need to pass parameters to my reports so I also need to add a /TT switch. When I do this I get the following error message ____^Duplicate or invalid Viewer control table type switch^____For Example this line of code runs as required____lReturnValue = Shell("D:Progra~1RRVER10" & "RSWRUN.EXE /M" & Chr$(34) & "D:Program FilesRRVER10EM.RSW" & Chr$(34) & " /U" & FrmMDIOutline.ConnectObject.userName & " /P" & FrmMDIOutline.ConnectObject.Password, vbNormalFocus)____But the following gives the above error____lReturnValue = Shell("D:Progra~1RRVER10" & "RSWRUN.EXE /M" & Chr$(34) & "D:Program FilesRRVER10EM.RSW" & Chr$(34) & " /U" & FrmMDIOutline.ConnectObject.userName & " /P" & FrmMDIOutline.ConnectObject.Password & " /TT" & Chr(34) & sTextFilePath & sTextFileName & Chr(34), vbNormalFocus)____I use the following parameters in the text file____RI_REPORT,RI_DSOURCE and RI_WHERE______Any ideas what the problem might be?____Thanks____Graham__

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

=====> RE: /M option in Runtime

Post by kfleming » Tue Sep 21, 2004 4:09 pm

You cannot use the /TT because the /M switch can only be used with the saved report settings and not along with a control file.____Kathleen__R&R Support

Post Reply