Avatar of SteveL13
Flag for United States of America

asked on 

How preview report if not already printed

I have this code in the onclick event of a form...

DoCmd.OpenReport "rptLog", acViewPreview, , [Previewed] = 0

Meaning I only want the report to preview if the report has not already been previewed.  But my code must be wrong.  How do I fix it?

Microsoft Access

Avatar of undefined
Last Comment
John Tsioumpris

8/22/2022 - Mon