Microsoft
Software
Hardware
Network
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
.dmp File
SQL Server 2005 db Hangs in Restore mode
ASP.Net validation controls not firing.
Why am I receving write conflicts
Dynamic datagrid view with check box
FormClosing causes mscorlib.dll "Index was out of range exception".... why
Canon printer reports low ink after replacing ink cartridges.
Tape Drive not reconized in Windows Explorer
Add three colums together in sql to get a total
SCW & Exchange 2007