Results 1 to 3 of 3
  1. #1
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,820

    Print Multiple Records from a Continuous Form

    Hi



    I have searched for an example of how to Print Multiple Records from a Continuous Form with a Criteria that a Yes/No Checkbox is set as True.

    The only example I can fine is using a Listbox.

    Can this be done directly from a Continuous Form?

    Any help appreciated.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Forms can be printed but reports are better vehicle for printing.

    The yes/no checkbox is bound to field? Apply filter to form.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,820
    Hi June

    My apologies.

    Put this down to my age but I have now solved my problem.

    I had forgotten to specify the criteria and this now works just great:-

    Code:
    Private Sub cmdLoadSheet_Click()
    
    10        On Error GoTo cmdLoadSheet_Click_Error
           
           
    20    If Me.Dirty Then Me.Dirty = False
    
    
    30    DoCmd.OpenReport "rpt_JobLoadSheet", acPreview, , "[Selected] = True"
    
    
    
    
              
    40        On Error GoTo 0
    50        Exit Sub
    
    
    cmdLoadSheet_Click_Error:
    
    
    60        MsgBox "Error " & Err.Number & " (" & Err.Description & ") in procedure cmdLoadSheet_Click, line " & Erl & "."
    
    
    End Sub

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Print Records in Continuous Subform to an Existing Report
    By PSSMargaret in forum Programming
    Replies: 1
    Last Post: 11-19-2017, 04:18 PM
  2. Replies: 4
    Last Post: 03-17-2016, 05:12 AM
  3. Replies: 14
    Last Post: 10-01-2015, 08:56 AM
  4. Replies: 3
    Last Post: 02-04-2014, 04:33 PM
  5. Replies: 6
    Last Post: 08-30-2012, 06:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums