Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我用了
Docmd.OpenReport "Report1"
从另一种形式,它似乎只是想打印报告而不实际显示它。我想显示报告,而不是打印它
将 acView 参数设置为 acViewPreview:
docmd.OpenReport "Report1", acViewPreview
Access Help 说您可以使用以下 AcView 常量之一:
acViewDesign acViewNormal acViewPreview
acViewNormal是默认设置并立即打印报告。