I've recently developed an Access 2002 database for storing contact details.
However the people I have been developing the database for, use Access 97 SR-1. The actual conversion went correctly and the database will infact open on the clients network, however on the one form (where contact details are stored) i have put several lines of VBA code behind each and every text box. The code looks like this:
Private Sub FirstName_Exit(Cancel As Integer)
If IsNull(FirstName.Value) Then
FirstName.Value = " "
ElseIf FirstName.Value = " " Then
FirstName.Value = " "
Else
FirstName.Value = LTrim(FirstName.Value)
End If
End Sub
This code works fine in Access 2002, but after converting to Access 97 and copying to the clients machine, it errors on the LTrim Function.
The message recieved is: 'Cannot find project or library'
Could anybody suggest a solution to this problem?
Ad
However the people I have been developing the database for, use Access 97 SR-1. The actual conversion went correctly and the database will infact open on the clients network, however on the one form (where contact details are stored) i have put several lines of VBA code behind each and every text box. The code looks like this:
Private Sub FirstName_Exit(Cancel As Integer)
If IsNull(FirstName.Value) Then
FirstName.Value = " "
ElseIf FirstName.Value = " " Then
FirstName.Value = " "
Else
FirstName.Value = LTrim(FirstName.Value)
End If
End Sub
This code works fine in Access 2002, but after converting to Access 97 and copying to the clients machine, it errors on the LTrim Function.
The message recieved is: 'Cannot find project or library'
Could anybody suggest a solution to this problem?
Ad