|
-
Nov 4th, 2003, 07:27 PM
#1
Thread Starter
Lively Member
Access 2000 VBA FileExists Function
Can anyone tell me if it is possible to search for a file using the FileExists function that has a string with a wildcard?
If FileExists("C:\Desktop\Graphic Images\" & "*" & myid & "*") = True Then
myid contains an id#. The specific file name will vary for each record but should have the id# within the filename. I want to look for a file that is in Graphic Images folder but can start with any character, include the value of myid and end with any characters. The code above doesn't work.
Thank you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|