why is this code Printing instead of opening the report

JOWINO

New member
Local time
Today, 03:19
Joined
Jul 12, 2024
Messages
1
DoCmd.OpenReport "YourReportName", acViewNormal, , "[YourFieldName] = '" & Me.FieldName & "'"
 
Welcome to AWF!
DoCmd.OpenReport "YourReportName", acViewNormal, , "[YourFieldName] = '" & Me.FieldName & "'"
Try using acViewPreview instead of acViewNormal.
 
the default NORMAL means print. (i wish it was the other way)
 

Users who are viewing this thread

Back
Top Bottom