![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi all, I have a file that looks like: 123456.pms03071 The first part, 123456, is unpredictable. The second part is pmsYYMMDD. What I want to do is to load the file with todays suffix. How can I do this in a simple manner? I have a path in a DTS-package that looks like: sFilename = "d:\path\*.PMS" & Right(Year(Now()), 2) ... sFilename = DTSGlobalVariables If I use the wildcard '*' I'll get: The filename.....is incorrect. If I use the full filename then it works! How can I get the wildcard to work? /Kent J. *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
![]() |
| Thread Tools | |
| Display Modes | |
| |