PhillipFoster
Technical User
Consider this code snippet:
vcmdLine = "A Load Of Rubbish"
vDate = Mid(vDate,1,4) & "-" & Mid(vDate,5,2) & "-" & Mid(vDate,7,2)
vcmdLine = "winzip32 -min -a -ex " _
& faxDone _
& "FAX-" _
& vDate _
& ".zip " _
& faxStaging _
& file
When I run the debugger, all the variables are populated as they should be except vcmdLine is still set to "A Load Of Rubbish". It's as though the second variable assignment isn't being processed, although it steps through normally in debug mode.
vDate is something like: 2003-05-22
file is a filename (it does have "_" characters in it)
faxDone & faxStaging are directories. i.e G:/FAXSYSTEM/Fax_Staging/
Is either the "-" or "/" or even "_" in the path/filename upsetting something?
Yours in bafflement - Phil.
vcmdLine = "A Load Of Rubbish"
vDate = Mid(vDate,1,4) & "-" & Mid(vDate,5,2) & "-" & Mid(vDate,7,2)
vcmdLine = "winzip32 -min -a -ex " _
& faxDone _
& "FAX-" _
& vDate _
& ".zip " _
& faxStaging _
& file
When I run the debugger, all the variables are populated as they should be except vcmdLine is still set to "A Load Of Rubbish". It's as though the second variable assignment isn't being processed, although it steps through normally in debug mode.
vDate is something like: 2003-05-22
file is a filename (it does have "_" characters in it)
faxDone & faxStaging are directories. i.e G:/FAXSYSTEM/Fax_Staging/
Is either the "-" or "/" or even "_" in the path/filename upsetting something?
Yours in bafflement - Phil.