Results 1 to 4 of 4
  1. #1
    shann is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2015
    Posts
    4

    Print all data from current form filtered via "between date"


    Hello! i'm newbie in access i just want to know how to print all data based on filtered table via access builtin filter for date please see attached. I just want to print all data in my form after it was filtered by payment date , any help would do.. thanks
    Attached Thumbnails Attached Thumbnails payment record.png  

  2. #2
    CJ_London is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,929
    Not clear if you are wanting to print the filter form or use the filtered records to print another for or report.

    If print the form just hit ctrl-p

    if print a report with the filtered items something like this on a code behind a button

    docmd.openreport "myreport",,,me.filter

  3. #3
    shann is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2015
    Posts
    4
    1st ill filter the form based on between date that is shown above
    2nd it'll produce filtered data based on date say from 1-1-2015 to 12-31-2015
    3rd i want to print those data on form to another report..

    can i automatically pass that to the report i created?

  4. #4
    CJ_London is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,929
    yes - see last line of my first post - the report will need to have the same or more tables in its recordsource as the form and can have more fields

    e.g. recordsource of form

    Code:
    SELECT recID, tranDate FROM tbl1
    
    recordsource of report

    Code:
    SELECT * FROM tbl1 INNER JOIN Tbl2 ON .....

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

Similar Threads

  1. Replies: 3
    Last Post: 02-16-2015, 01:04 PM
  2. Replies: 3
    Last Post: 12-06-2014, 03:59 AM
  3. Replies: 2
    Last Post: 11-26-2012, 11:12 PM
  4. Replies: 2
    Last Post: 09-29-2012, 11:22 PM
  5. Form error "the current field must match..."
    By plavookins in forum Forms
    Replies: 0
    Last Post: 04-13-2011, 07:42 AM

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