Read only records

BrianM2

Registered User.
Local time
Today, 15:14
Joined
Feb 28, 2005
Messages
33
I want to make groups of records in a table read only. This is to protect existing records from being altered when new records which are started from copies of the earlier records are being added to the table.

Does anyone have any ideas?
 
Use the 'AllowEdits' property of the form in the OnCurrent event.

Code:
If Me.Group = "x" Then

Me.AllowEdits = False

Else

Me.AllowEdits = True

End If

Col
 
Col

Thanks for the reply. My apologies for the delay in getting back to you - have been out of the office since posting my query and have only just had a look to see what may have turned up.

Brian
 

Users who are viewing this thread

Back
Top Bottom