Calling an MS Access Report from VB

G

Guest

I need to call an MS Access Report from VB. The computer has MS Access
installed on it. What is the correct syntax for the call.
 
F

fredg

I need to call an MS Access Report from VB. The computer has MS Access
installed on it. What is the correct syntax for the call.

What do you mean by "call an MS Access Report "?
Do you mean "Open" a report?

DoCmd.OpenReport "ReportName", acViewPreview
 
L

Larry Linson

Bob said:
I need to call an MS Access Report from VB. The
computer has MS Access installed on it. What is the
correct syntax for the call.

Do you mean you want to open the Report from Access' VBA, or that you have
an application done in the separate VB product, and want to use COM
automation to control Access to generate the Report? If the latter, classic
VB (and which version) or VB.NET?

Larry Linson
Microsoft Access MVP
 

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

Top