Mithrindal
MIS
- Jul 8, 2001
- 29
I am trying to run a bit of vb code on the click of a YES/No object in MS Acccess 97. It runs perfectly on my machine but will not run on others. The whole purpose of the code is that when the box is ticked the code picks up the users login ID, matches the user ID to their name, puts the name in a text box and current date/time on the same line as the tick box then sets the locked property on all 3 fields on the same line to -1 (locked. On my machine this runs perfectly, on others I receive a compile error as follows: "Can't find Project or Library" on clicking {ENTER} the word "Environ" in my variable set statement is hi-lighted :- uservar = Environ("USERNAME"
.
There appears to be differences in the .ocx or DLL's registered on different machines.
Does anyone know which one control the "Environ" class?
There appears to be differences in the .ocx or DLL's registered on different machines.
Does anyone know which one control the "Environ" class?