data mode

robart6

Registered User.
Local time
Today, 14:36
Joined
Feb 11, 2004
Messages
19
I open a form with the following: DoCmd.OpenForm "frmPersons", , , "[fldPersonID] =" & Me.cmbChooseName, acFormReadOnly
The form has an Edit command button - - On Click I want to change from Read Only to edit the data. Can anyone help? It will be greatly appreciated
 
robart,

You can use commands like these on your command button:

Me.AllowAdditions = True
Me.AllowDeletions = True
Me.AllowEdits = True

Wayne
 
Thank you, Wayne. Worked like a charm!
 

Users who are viewing this thread

Back
Top Bottom