So ultimately I would of liked to have a form in continious form view, but this is not possible in this situation because I have a subform in that original form. (Unless I am worng on learning that it is impossible to have continious form view with a subform in the form.) So as a work around I created a report EXACTLY as the form appears (also with subreport). The report shows the records I query/filter/needed perfectly.
What I need now is to be able to double click a specific record in the report and have it open the form with only the record I double clicked in to be able to edit that record.
I tried the following, but it opened ALL records in the form. I need ONLY the record I double clicked:
Private Sub Detail_DblClick(Cancel As Integer)
DoCmd.OpenForm "Invoices", acNormal, , TxnID = Me.TxnID, acFormEdit
End Sub
Any suggestions?
What I need now is to be able to double click a specific record in the report and have it open the form with only the record I double clicked in to be able to edit that record.
I tried the following, but it opened ALL records in the form. I need ONLY the record I double clicked:
Private Sub Detail_DblClick(Cancel As Integer)
DoCmd.OpenForm "Invoices", acNormal, , TxnID = Me.TxnID, acFormEdit
End Sub
Any suggestions?