Hi,
I have a form with 3 subforms. All of the tables share the same primary key so they are linked..
I would like to have a report that prints the curent record displayed.
Hpw can i have the report have subreports?
Put something like this in the onclick() of the print button:
Code:
Private Sub cmdProforma_Click()
Dim stDocName As String
Dim stWhere As String
stDocName = "rprtProforma"
stWhere = "OperationsID=" & Me.operationsID
DoCmd.OpenReport "rprtProforma", acPreview, , stWhere
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.