How do I reference current TissueID displayed in subform in the following:
Private Sub PrintImplRec_Click()
On Error GoTo Err_PrintImplRec_Click
Dim stDocName As String
stDocName = "ImplantRecord"
DoCmd.OpenReport stDocName, acPreview, , "[TissueID]=Forms!EDITORDERRECEIPT!TissueID"
where "EDITORDERRECEIPT" is the parent and "Receipt_Child_form" is the subform. The TissueID is found only on the subform.
Thanks
Private Sub PrintImplRec_Click()
On Error GoTo Err_PrintImplRec_Click
Dim stDocName As String
stDocName = "ImplantRecord"
DoCmd.OpenReport stDocName, acPreview, , "[TissueID]=Forms!EDITORDERRECEIPT!TissueID"
where "EDITORDERRECEIPT" is the parent and "Receipt_Child_form" is the subform. The TissueID is found only on the subform.
Thanks