Results 1 to 3 of 3
  1. #1
    sanjayakalpage is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jan 2015
    Posts
    5

    Print query reults


    Dear friends...
    I have a form to get user inputs (criteria) and when the user hit a button it calls a query and show the results filtered based on the user's input. up to this point its working. at the query result page I need a button to print the results of the query and the report heading should mention the user's inputs (criteria which the report based), and the report generated date and time. Please help.... Thank you...

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    What is the question?

    If your query is working as you intend and your sticking point is getting the criteria to appear in the report heading you can retrieve the values the same way you would in using them as criteria in your query.

    Let's say your form is 'frmReportCriteria', on that form you have a field Emp_ID for an employee ID

    On your report you would have something like:

    =iif(not isnull(forms!frmreportcriteria!emp_ID), "Report for Employee ID : " & forms!frmreportcriteria!emp_ID, "Report for ALL Employees")

  3. #3
    sanjayakalpage is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jan 2015
    Posts
    5
    Thank u buddy.... It worked,,,,

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

Similar Threads

  1. Replies: 5
    Last Post: 07-29-2014, 01:05 PM
  2. Replies: 6
    Last Post: 03-01-2014, 07:07 AM
  3. Replies: 1
    Last Post: 12-03-2012, 03:15 PM
  4. Replies: 7
    Last Post: 12-02-2012, 08:32 PM
  5. Replies: 5
    Last Post: 10-26-2011, 02:59 PM

Tags for this Thread

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