laxing22
Registered User.
- Local time
- Today, 03:44
- Joined
- Aug 12, 2003
- Messages
- 14
OK, I have a DB that has a small amount of VBA. Bassically, I have a form that is used for data entry with a save command button, this button updates a hidden field that records the users log in id and a date stamp. I use this code on most of my DB and it just works. Anyhow - It works on this DB for a week or 2 then suddenly fails w/ a MSVB error bo stateing "Compile error: Can't find project or library" This is running on a LAN with only 2-3 users. I can restore the DB from a back up and it works fine, only to fail in a few days to weeks again. What is going on???

BTW - the error first shows up on one specific users PC - the others with access to the DB will run fine for a few mins then they fail.
The fist section of the code to fail on is
Private Sub Save_Click()
Me.LastEditedBy.Value = GetNTUser & " " & Date & " " & Time
On Error GoTo Err_Save_Click
'Date' is the word that gets highlighted in the auto debugger
BTW - the error first shows up on one specific users PC - the others with access to the DB will run fine for a few mins then they fail.
The fist section of the code to fail on is
Private Sub Save_Click()
Me.LastEditedBy.Value = GetNTUser & " " & Date & " " & Time
On Error GoTo Err_Save_Click
'Date' is the word that gets highlighted in the auto debugger
Last edited: