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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access reports from VB

Status
Not open for further replies.

AtomicChip

Programmer
May 15, 2001
622
CA
I'm having all sorts of problems with code for opening an Access report from VB. All I have to be able to do is print it from the application, but no mater what I do, I keep getting errors. Any help would be much appreciated.
 
Well have you put a control button on your VB? If you haven't put one and enter this code in it.
Print Form
That should work. If not let me know. Will try something else. :);)
 
Thanks for the reply, but I already figured it out. I had already put a control button on the form, but I didn't know the COM programming to open it up. Figured it out a couple hours later. It only took a couple simple object.doCmd methods. Don't I feel like a dolt!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top