Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

allow editing in subform 1

Status
Not open for further replies.

mavog

IS-IT--Management
Jun 12, 2003
25
GB
hi ,
can any1 tell me how to change a read-only subform in a read-only main form to allow editing in the subform if a button is clicked?
 
VBA behind command button on the subform:
Me.AllowEdits = True
You'll probably want to have some mechanism to stop edits when they are done, like changing the caption to EndEdit, then the code = Me.AllowEdits = False
HTH
JeanS
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top