Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

hhmmss in filename

$
0
0

Hello,

My situation:

  • I create dynamically XLS files in a loop (one per company) with a date and I want a hhmmss (latter is causing troubles) in the filename.
  • I create a table in the XLS in the loop.
  • I fill the XLS with data.

The problem is this: The filename is an expression on the connection to the XLS. It seems that the expression is re-evaluated everytime (once for creating the table in the XLS and again when the filling the data in XLS ) and that causes an error "file not found" when hhmmss is a second further.

The one solution I have currently is filling the variable with in a script task (once) and use this in the tasks..

Anyone an other solution?

Hennie


Viewing all articles
Browse latest Browse all 24688

Trending Articles