Open Record using Sub Form

  • Thread starter Thread starter Juan Schwartz
  • Start date Start date
J

Juan Schwartz

I've seen this done... where one can double click a subform and open
an edit form with the record double clicked in the previous subform.
Can I get a link to a tutorial or sample of this?
 
Pretty simple, really. You use the Double Click event of one of the controls
in the subform form. Here is an example:

Private Sub txtPropertyName_DblClick(Cancel As Integer)

DoCmd.OpenForm "frmProperty", , , "[PropertyID] = " & Me.txtPropertyID

End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top