I have a form that I would like to print out in a report. I have a print command set up on the form and it works, once I close down the form and bring it back up, but will not print the fields unless I close the form first and go back into the form. Here's the code in my Print Command:
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "RptRoutingSlp"
stLinkCriteria = "[ControlNumberID]= " & Me.ControlNumberId
DoCmd.OpenReport stDocName, acNormal, , stLinkCriteria
Any help would greatly be appreciated.
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "RptRoutingSlp"
stLinkCriteria = "[ControlNumberID]= " & Me.ControlNumberId
DoCmd.OpenReport stDocName, acNormal, , stLinkCriteria
Any help would greatly be appreciated.