Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot use wildcard..?

Status
Not open for further replies.

kenjoswe

Technical User
Joined
Sep 19, 2000
Messages
327
Location
SE
Hi all,

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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top