Hello all,
The object: I have a dts package that exports an excel file to a temp directory, then I take that excel file and email it out to a mailing list.
The problem: each time I run the dts it appends to the worksheets/tables.
The constraints: you can not use xpcmd_shell, no privledges. Also you can only give each file a unique name iff you remove the file so not to make a mess of the directory.
I tried a delete from [table$] on the excel connection. But get the error message that Delete is not supported through ISAM. And doing a drop table on Table$ messed it all up the sheet is blank but I can't put data back into the sheet.
Any other Ideas?
Thanks in advance.
The object: I have a dts package that exports an excel file to a temp directory, then I take that excel file and email it out to a mailing list.
The problem: each time I run the dts it appends to the worksheets/tables.
The constraints: you can not use xpcmd_shell, no privledges. Also you can only give each file a unique name iff you remove the file so not to make a mess of the directory.
I tried a delete from [table$] on the excel connection. But get the error message that Delete is not supported through ISAM. And doing a drop table on Table$ messed it all up the sheet is blank but I can't put data back into the sheet.
Any other Ideas?
Thanks in advance.