Click here to Skip to main content
15,905,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have created an ms access database that has a report that I want to print using vb.net, I'm a new developer and I don't have the idea of how am going to call that procedure. Kindly help

Thnks..
Posted

My suggestion is to create the report via Visual Studio or a similar tool and pull the data from Access into that report. If you are going to use MS Access, then I recommend that you only use it for a back end database and nothing else.
 
Share this answer
 
Comments
theMoran 23-Feb-12 7:21am    
Hi,
Thanks for ur response but if am to create the report via visual studio or pull it frm the access dbase how do I go about it?
Slacker007 23-Feb-12 7:30am    
Try searching the internet. There are a lot of tutorials and samples. Did you try searching this site for information?

My next question would be, how proficient are you with VB.Net and/or .Net programming in general?

A possible way:

1. Create a data connection layer to access the data from the Access database.
2. Create the report based on the database and connection.
3. Generate the report via your application. Probably you will want the user to provide some filter criteria via your UI.
theMoran 23-Feb-12 8:02am    
I'm a newbie in VB.Net though I have managed to develop a small program that can save and retrieve records the major problem am facing is how I will call that object so that a user can be able to view a print report from what has been entered,I hav managed to create a connection to the ms dbase.

I'm still searching this site and others for solutions I will appreciate any links that you may have.

Thanks again for your support
Slacker007 23-Feb-12 8:05am    
You could look at the link below, provided by Raimis9.
 
Share this answer
 
Comments
Slacker007 23-Feb-12 7:33am    
Good link. I have done Office Interop and Automation for a while now and I have decided not to do it anymore unless I absolutely have to. :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900