Results 1 to 3 of 3
  1. #1
    cap.zadi is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2011
    Location
    KSA
    Posts
    481

    Where Condition for dates to print current report!

    Hi



    Usually use macro at form to print the current transaction via applying the

    Where Condition: ="[ID]=" & [ID]

    What could be the criteria if to print basted on Date field. "TranDate (Short Date)"

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    You want to print all transactions for selected date? What control is referenced for the date parameter?

    ="TranDate=#" & [some date] & "#"
    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
    cap.zadi is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2011
    Location
    KSA
    Posts
    481
    Hi,

    It is solved by put the date criteria in the query to follow the date field at the form.

    The issue was there are many transaction on the same day so the idea was to generate one single report for whole day transactions as TranDate is same and report is already grouped by TranDate.

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

Similar Threads

  1. Print a report from current recordset with no fields
    By themushroomking in forum Access
    Replies: 8
    Last Post: 07-07-2017, 01:54 PM
  2. Print Report from Current Record
    By hnkford in forum Reports
    Replies: 15
    Last Post: 05-22-2015, 08:08 AM
  3. Replies: 3
    Last Post: 05-28-2014, 06:24 PM
  4. Print current form with a report
    By JulieMarie in forum Access
    Replies: 1
    Last Post: 08-02-2013, 10:30 AM
  5. Print current record to a report
    By drawc in forum Access
    Replies: 2
    Last Post: 01-15-2012, 12:48 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