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
Microsoft Office Install stopping on MSPTLS.DLL
IE 6 Close "memory could not be read" error
Outlook Disconnected
Multiple Criteria in Query
hyperlink in Excel
Export DataView to Excel Spreadsheet with C#
How can I transfer Adobe CS2 license to another system?
How do I convert a stored procedure to be used for batch processing?
Can you install Vista / windows 7 to winnt directory
Multiple IIF statement error