Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running a report from the Command Line

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I'm trying to run a report from the Command Line in VB. My code currently looks like:

Shell "C:\Program Files\Microsoft Office\Office\MSACCESS.exe " & "G:\OrderReturnList\OrderReturnList.mdb" & " /X macPrintOrdRetLst /user user /pwd /Cmd " & strFilter

What I need to know is with the /Cmd function, is there a delimiter that I can use to enter more than one argument. I need an argument for the filter and one for the WHERE clause.

Thanks for the help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top