/M option in Runtime
-
- Posts: 5
- Joined: Tue Oct 10, 2017 12:44 pm
/M option in Runtime
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
=> RE: /M option in Runtime
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
-
- Posts: 0
- Joined: Fri Apr 13, 2018 10:43 am
==> RE: /M option in Runtime
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?
===> RE: /M option in Runtime
You can use other runtime command line switches along with the /M____Kathleen__R&R Support
-
- Posts: 0
- Joined: Fri Apr 13, 2018 10:43 am
====> RE: /M option in Runtime
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__
=====> RE: /M option in Runtime
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