G
Guest
Hi,
I need to append to one string this small string "\*" and it works in one
place in my code and doesn't in another. Here is what I do:
Dim sSubDir As String * MAX_PATH ' where MAX_PATH is defined as 260
Dim sSearchSubDir As String * MAX_PATH
' append wildcard to get all files and sub-directories
sSubDir = sDirName & "\" & FindData.cFileName
sSearchSubDir = sDirName & "\" & FindData.cFileName & "\*"
I haven't a clue what the issue is and what, if any workaround there is.
Can somebody tell me how to get this to work? This is for VBA 6.3 running in
Access 2000 or thereabouts.
Thanks,
Elisha Berns
I need to append to one string this small string "\*" and it works in one
place in my code and doesn't in another. Here is what I do:
Dim sSubDir As String * MAX_PATH ' where MAX_PATH is defined as 260
Dim sSearchSubDir As String * MAX_PATH
' append wildcard to get all files and sub-directories
sSubDir = sDirName & "\" & FindData.cFileName
sSearchSubDir = sDirName & "\" & FindData.cFileName & "\*"
I haven't a clue what the issue is and what, if any workaround there is.
Can somebody tell me how to get this to work? This is for VBA 6.3 running in
Access 2000 or thereabouts.
Thanks,
Elisha Berns