how can I print reports created in Access 97 from VB6 without loading Access?
Printable View
how can I print reports created in Access 97 from VB6 without loading Access?
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