Hi There
This should be an easy one i hope.
I need to dynamically change the file name of my destination flat file connection everytime the package runs, obviously i do not want to edit the config file everytime.
I think the best way to do this is by a script taks that sets the connection manager filename property with a variable that i dynamically populate.
Is this the right way
I just want to be sure that there is not an easier or better way to do this
Thanx

Dynamic connection manager file name
Ek9
Duncan-Countrywide
Thank you
DavidBoyCA21
Clementino Mendonca - MSFT
Yes, that sounds like a good approach. Don't use a script task though (because its not possible to do it with a script task), use a property expression (http://www.google.co.uk/search hl=en&q=ssis+expressions&meta=).
You can parameterise the package execution by passing values in from the command-line using the /SET option.
-Jamie
Qwertman