Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Program Access Reports

Status
Not open for further replies.

macca18

Programmer
Mar 1, 2005
3
GB
Hi,

I am currently using Visual C++ with Access to store my data.

I then extract the data,using input from user to build query, i want from Access and put it in an excel spreadsheet which i display to the end user.

My question is, can i remove the need to extract the data from the database and display it using excel and instead, use Access Reports some way from within my VC++ code to display the contents to the user?

Thanks In Advance
Macca
 
If the user has Access loaded on their PC, you should be able to use automation to open an instance of Access and run the report.

Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
 
Duane

Thanks for the answer.

Do you know any good resources where i can find out about using automation with access?

I have used automation with excel from examples on the microsoft site but cant find much to do with access,

Regards
Macca
 
Douglas J. Steele answered this question in public news groups on Mar 2:

I think it's covered somewhere in the following KB articles:

ACC: How to Use Automation to Print Microsoft Access Reports:
ACC2000: How to Use Automation to Print Microsoft Access Reports
ACC2002: How to Use Automation to Print Microsoft Access Reports
ACC: Using Microsoft Access as an Automation Server
ACC2000: Using Microsoft Access as an Automation Server


--


Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top