Question : Dynamically Change File Name Property In File Connection Manager

I have a CSV file that is being used by my package as a datasource.  I created an SSISConfigurations table which includes a record that has the data file path used to hold all of my CSV files.  I created a package configuration that will pull the path into a variable.  I also created a separate variable in my package for the file name.

My question is:  How do I get these values into the file connection manager so that the file name property is configurable?   It's not that my file names are changing, it's the environment (path to csv files) which may change.  This is why I need to be able to dynamically configure the path because it has to be in the file name property.

Answer : Dynamically Change File Name Property In File Connection Manager

Just use Expressions property in flat file connection manager
you can set somethings dynamically there, also connection string of file
Random Solutions  
 
programming4us programming4us