Results 1 to 2 of 2

Thread: printing reports in visual basic

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 1999
    Location
    Bishop's Falls, NF, Canada
    Posts
    12

    Post

    what i need to do get a code and creates and query in visual basic. and prints the report. also i need to extend the limit on the page size from 21 to 31 on the report.

  2. #2
    Addicted Member
    Join Date
    Oct 1999
    Posts
    232

    Post

    What report? When you ask anything, please describe your problem completely.

    If you use ms access you need follow code.

    --------------------

    Dim RApp=New Access.Application

    RApp.openCurrentDatabase("d:\db1.mdb")
    reportname="reportname"

    RApp.DoCmd.OpenReport reportname,acViewNormal

    RApp.CloseCurrentDatabase
    Set RApp=Nothing

    ------------------
    smalig
    [email protected]
    smalig.tripod.com

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