CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 1999
    Posts
    23

    VB Access Reports



    how can I print reports created in Access 97 from VB6 without loading Access?

  2. #2
    Join Date
    Apr 1999
    Posts
    7

    Re: VB Access Reports



    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured