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
Anybody have VBA code to force run Macro when open, but also will lock down access to VBA editor without password
Multiple Instances??
Application Settings are not functioning
2 questions about messagequeue
how to create crystal report programmatically using vs 2005 ide?
Oracle REF CURSOR in Excel VBA
MOSS C# Console application - How do I create a document Library
return an email object's guid
Connect to a Crosstab query in Access from Excel
lock cloumn width for only selected cells