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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running Org Chart Wizard from Command Line

Status
Not open for further replies.

iamguyster

Technical User
Jun 23, 2003
3
GB
Hi,

I am trying to automate the Organizational Chart Wizard running it from the command line. I have succesfully run it against an xls file containing data and an ODBC DSN for an access database. The problem is, the data actually sits in a table in a SQL Server DB. I have created an ODBC DSN for this datasource and tried the same things as I did with the Access datasource. It never works! It tells me 'UnitName' or 'UnitID' is not present in the datasource. Here is the command I am using:

"_organization chart wizard.exe" /datasource=GOB ,table=Units /name-field=UnitName /manager-field=ParentID /unique-field=UnitID

I have not included dbqualifier for two reasons. One is that it worked without for the access DB and two, is (and forgive me for my ignorance) but I havent got a clue what to put in there! Maybe this will sort it?

Thanks for any help you can give.
Cheers,
iamguyster
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top