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
Pass a selected range of cells as a paramter to a procedure
Sorting a Grid View Column
Adding a DLL reference
Disable menu items on switchboard
Invalid length for a Base-64 char array
What does an MFC resource file with texts of more than one language look like?
Ghost32
Delphi to VB.NET
Load progress bar C#, asp.net
Print issues in Reporting Services