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

appending cms report

Status
Not open for further replies.

whatsanavaya

Technical User
Jan 9, 2006
17
IE
i want to run a cms report script that writes to the same file but instead of overwriting the file, it appends the data. I've been trying to change the script but i don't really know vbs. The report line in teh script is like below:

b = Rep.ExportData("C:\test\Daily.txt", 124, 0, True, True, False)

what do i have to do to get daily.txt appended each time teh script is run?
 
I don't think this is possible. The ExportData function doesn't allow any file options other than name. I looked at the other COM components and didn't see any reference to file appending or any other file handling.

You will probably need to append your data externally after the CMS report runs.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top