Report preview through VB6

S

Shreenivas Potnis

DoCmd.OpenReport "MyReport", acPreview
does not give the report preview when executed through VB6.

However acNormal prints the reports to the printer.

How to obtain the report-preview through VB?
 
V

Van T. Dinh

Are you automatic Access from VB?

Is the Access Application window is visible in your
automation?

AFAIK, The only way to preview an Access Report is to show
it in the Access Application window.

HTH
Van T. Dinh
MVP (Access)
 
S

Shreenivas Potnis

No Access Application window is not visible.
Can you tell me how to make it visible from VB?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top