shard01
November 24th, 2009, 12:15 PM
Monarch Pro 5.02
Windows XP
Basically I'm trying to setup a batch file to open a project and export the table view to add to a database overwriting the existing table.
I can get the batch file to open the project or monarch but it doesn't recognise any commands (/exp, /exptable, or even /rpt /prj) I've tried using the BAT tool I found through the forums but no luck.
So here are my two different attempts so far.
Using Just the Project
@echo off
"C:\Location\Unknowns.prj" /exp:"C:\Location\Unknowns.mdb" /expfileopt:add /exptable:"Unknown"
Will open the project (Report, Model, in table view) correctly but does not export.
Using the Excel BAT creator
"C:\Program Files\Monarch\Program\Monarch.exe" /rpt:"C:\Location\Report.rpt" /prj:"C:\Location\Unknowns.prj" /mod:"C:\Location\Unknowns.mod" /T /exp:"C:\Location\Unknowns.mdb" /expfileopt:add /exptable:"Unknown"
Just open's Monarh.
Any help would be appreciated.
Windows XP
Basically I'm trying to setup a batch file to open a project and export the table view to add to a database overwriting the existing table.
I can get the batch file to open the project or monarch but it doesn't recognise any commands (/exp, /exptable, or even /rpt /prj) I've tried using the BAT tool I found through the forums but no luck.
So here are my two different attempts so far.
Using Just the Project
@echo off
"C:\Location\Unknowns.prj" /exp:"C:\Location\Unknowns.mdb" /expfileopt:add /exptable:"Unknown"
Will open the project (Report, Model, in table view) correctly but does not export.
Using the Excel BAT creator
"C:\Program Files\Monarch\Program\Monarch.exe" /rpt:"C:\Location\Report.rpt" /prj:"C:\Location\Unknowns.prj" /mod:"C:\Location\Unknowns.mod" /T /exp:"C:\Location\Unknowns.mdb" /expfileopt:add /exptable:"Unknown"
Just open's Monarh.
Any help would be appreciated.