Gary_Mc_Mahon
Board Regular
- Joined
- Apr 30, 2003
- Messages
- 87
Hi,
I have created on open and on close events in my main form to edit lock the records on open and remove the locks when the form is closed. The reason for this is that when toggling between screens I had problems when I leave the edit record locks on permanently.
What I'd like to do is display a message on the form screen when the record is actually locked.
Any tips with the syntax. Is current event the right one??
Private Sub Form_Current()
If 'record is locked' then
Msgbox("Record is locked for editing")
Else
End If
End Sub
Cheers
Gary
I have created on open and on close events in my main form to edit lock the records on open and remove the locks when the form is closed. The reason for this is that when toggling between screens I had problems when I leave the edit record locks on permanently.
What I'd like to do is display a message on the form screen when the record is actually locked.
Any tips with the syntax. Is current event the right one??
Private Sub Form_Current()
If 'record is locked' then
Msgbox("Record is locked for editing")
Else
End If
End Sub
Cheers
Gary