Click to See Complete Forum and Search --> : VB Access Reports


Steve
January 10th, 1999, 07:30 PM
how can I print reports created in Access 97 from VB6 without loading Access?

Wolfgang Kutschera
February 8th, 1999, 06:27 AM
You can do it using OLE Automation!

In the DAO library the database-object has a member function "OpenReport" (or somthing like that) with one parameter "Action". If you call this function with Action "Print" (whatever value print may be, i think its 2) you will get a printout without seeing access.


brgds

Wolfgang "Rick" Kutschera

Scientific Games Austria

Systemprogramming