Report preview through VB6

  • Thread starter Thread starter Shreenivas Potnis
  • Start date Start date
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?
 
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)
 
No Access Application window is not visible.
Can you tell me how to make it visible from VB?
 
Back
Top