Subform command buttons

  • Thread starter Thread starter Deb Smith
  • Start date Start date
D

Deb Smith

Is it possible to use command buttons on a form to perform actions affecting
records on a subform. For example is it possible to have undo, delete, add
record command buttons on the main form that can be programatically set to
affect subform records.
 
Deb;

This worked for me.

Modify it for Your SubForm

Private Sub CmdButton_OnClick()

Me!sfrmName.Form!txtControlName = Me![txtWhatIsInControlOnMainForm]
End Sub

Andy
 
Back
Top