I have the following code in the expression for the Connection string property.
The problem is that the leading zeros for the month and the day are being stripped out.
@[User::outputFileDir] + "COSDEP"+(DT_WSTR, 4) DATEPART("YYYY", GETDATE()) + (DT_WSTR, 2) DATEPART("MM", GETDATE()) + (DT_WSTR, 2) DATEPART("DD", GETDATE()) +".csv"
For Example for September 5, 2007, The file name is C:\CosDep200795.csv
How do I get the formula not to drop the leading zeros
Thanks
KR