BigJimSlade
Registered User.
- Local time
- Today, 18:25
- Joined
- Oct 11, 2000
- Messages
- 173
Hi, Big Jim here:
Ok, here is my problem. I try to run this code:
strServer = Left(CurrentDb.Name, 1) 'Gives me "c"
strServer = Eval("GetDriveType(strServer)")
The problem falls within the second line of code. When I run it, I get an error telling me that Microsoft can't find the name 'strServer' I entered in the expression. How could I run this so that it sees strServer as the variable from line 1?
Thanks in advance!
Big Jim
Ok, here is my problem. I try to run this code:
strServer = Left(CurrentDb.Name, 1) 'Gives me "c"
strServer = Eval("GetDriveType(strServer)")
The problem falls within the second line of code. When I run it, I get an error telling me that Microsoft can't find the name 'strServer' I entered in the expression. How could I run this so that it sees strServer as the variable from line 1?
Thanks in advance!
Big Jim
Last edited: