Results 1 to 2 of 2

Thread: Printout multiple reports with Access97

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2000
    Location
    Italy
    Posts
    2
    For each record of a table I have to printout 2 different report but creating 1 print preview (and 1 print queue).

    Example :
    record 1 printout report #1 and then report #2
    record 2 printout report #1 and then report #2
    record 3 ......


    Thanks.

  2. #2
    New Member
    Join Date
    Feb 2001
    Location
    Melbourne, Australia
    Posts
    8
    you have to loop through the records, and call the docmd.openreport method for each record twice.

    For example:
    Code:
    While Not lobjData.EOF
        'preview the report
        DoCmd.OpenReport lobjData![ReportName], acViewPreview
        'print the report
        DoCmd.OpenReport lobjData![ReportName], acViewNormal
        lobjData.Movenext
    Wend
    Matt Richardson
    Guru and all-round nice guy

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