Printing Access reports or using Access to print/preview reports 
Author Message
 Printing Access reports or using Access to print/preview reports

Include a reference to Access for Windows 95 and then you can use OLE
automation to preview or print reports in Access 7.0

sub AccesReport()
   Dim objReport as Object
Set objReport=CreateObject("Access Application")
objReport.Visible=true
objReport.OpenCurrentDatabase App.path & "\test.mdb"
objReport.DoCmd.OpenReport "reportname", acPreview
End Sub

Johan Savels
Royal Technical Shool of the Belgian Air Force



...

Quote:
>I was wondering if anyone knows a way to print/preview reports created
>within Access from VB 4.0?  I would like to do this outside of Access if
at
>all possible so that my users don't have to have access on their
>machines...

>Any help would be appreciated.
>--
>-Eric Bonney

> http://www.*-*-*.com/



Sat, 18 Dec 1999 03:00:00 GMT  
 Printing Access reports or using Access to print/preview reports



Quote:
> I was wondering if anyone knows a way to print/preview reports created
> within Access from VB 4.0?  I would like to do this outside of Access if at
> all possible so that my users don't have to have access on their
> machines...

> Any help would be appreciated.
> --
> -Eric Bonney

> http://home.fuse.net/ebonney/

Videosoft has an ActiveX control that will print Access reports. You can
download a demo from their web page: http://www.videosoft.com

The solution mentioned in another response requires Access to be
installed on the user's machine.

-Stu
--
Coming soon to a browser near you...
GUI Gumdrops - Tasty Morsels for Windows Users and Developers
http://www.guigumdrops.com



Sat, 18 Dec 1999 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. disable print to file in print preview using Crystal Reports 4.6

2. Print preview access reports

3. Print Preview Access 7.0 Reports OCX

4. Using Access as automation engine to print Access reports

5. Crystal Report: print preview and print

6. Help - Printing access report using automation

7. Printing current report from VB using access

8. Printing Access 95 Reports from VB 4 using OLE Automation

9. Getting list of reports and printing from Access DB using VB

10. Can U print Access report without opening Access?

11. Print using ACCESS reports?

 

 
Powered by phpBB® Forum Software