-
Here is the piece of code acting strange.
ID = format(Now,"mmddyyyyhhnnss") + strCompName
On a few machines, I found that the ID is being computed as
mmddyyyyhhnnX + ComputerName
where X is some unrelated single digit number.
On 80% of the machines(about 50 or so) it runs fine.
Could someone let me know if its a dll problem that i need to fix .
Thanks.
-
Regional setting
May be you can check the regional setting whether set correctly?
-
I would also suggest using the Ampersand "&" to concatinate your string to make sure no math operation is being performed.
Code:
ID = format(Now,"mmddyyyyhhnnss") & strCompName