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
Automatically decline meeting request for a specific meeting on the calendar
MS Access GetOleDbSchemaTable DATA_TYPES and COLUMN_FLAGS questions
Extract Day of the month in Date VBA
Windows 2003 Server with event id 1004 application error for wmiprvse.exe
IIS7 won't parse classic ASP / VBScript
Your database or project contains a missing or broken reference to the file 'DSDBListVw2.dll' version 1.0.
migrating SQL databases to another server and get some weird error messages
Adding PowerPoint Viewer to winform desktop app.
Visual Basic Code - Excel - Merge multiple worksheets in an excel workbook into single worksheet
Autofill Date Field in Access 2007