J
John Barnes
Have a form which runs following code:
Private Sub ShiftStart_DblClick(Cancel As Integer)
Dim varDate As Variant
ShiftStart = DateAdd("m", -1, Now())
varDate = PickDateTime(Me.ShiftStart)
If varDate & "" <> Me.ShiftStart & "" Then
Me.ShiftStart = varDate
End If
'Setting this to true will cancel the regular dbl-click event
'so a block of text is not hilited
Cancel = True
End Sub
On one machine (Win XP Pro SP3, Access 2003 SP3) calendar opens fine. On
another machine, same setup, receive the following error when double clicking
on ShiftStart to open a new record:
Run-time error '-2147352567 (80020009)'; Could not update; currently locked.
Offers option to end or debug.
Record Locks is set to No Locks.
Any idea what is causing this error? Thank you very much.
Private Sub ShiftStart_DblClick(Cancel As Integer)
Dim varDate As Variant
ShiftStart = DateAdd("m", -1, Now())
varDate = PickDateTime(Me.ShiftStart)
If varDate & "" <> Me.ShiftStart & "" Then
Me.ShiftStart = varDate
End If
'Setting this to true will cancel the regular dbl-click event
'so a block of text is not hilited
Cancel = True
End Sub
On one machine (Win XP Pro SP3, Access 2003 SP3) calendar opens fine. On
another machine, same setup, receive the following error when double clicking
on ShiftStart to open a new record:
Run-time error '-2147352567 (80020009)'; Could not update; currently locked.
Offers option to end or debug.
Record Locks is set to No Locks.
Any idea what is causing this error? Thank you very much.