Results 1 to 2 of 2
  1. #1
    mes3 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Dec 2012
    Posts
    1

    Red face How to appear every single date with event when using between function in query

    I've been using between function with two dates in query and also have put event. There is no mater to display it's event at the start and end date, but if the different date more than one day, for example:



    Query 1:
    Start Date End Date Event Amount Days
    24/04/2012 27/04/2012 Leadership Course 4

    the report only display the first and last date with it's event but not display date to 2, 3 and 4. While actually what I want to do in the query when I key in even at the start and end date, the result in a report should display every single date with it's event automatically just like this

    Report 1:

    Date Even
    24/04/2012 Leadership Course
    25/04/2012 Leadership Course
    26/04/2012 Leadership Course
    27/04/2012 Leadership Course

    If different function not suitable to get that result, may be there are another way to solve it. Please help me.
    Code:
    1968

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    You want to show records that don't exist. This will not be easy to do. I doubt can be done with just query but will call for VBA code and temp table.

    You also don't show any code between the code tags.

    You might find this of interest https://www.accessforums.net/databas...ses-18459.html
    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.

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

Similar Threads

  1. execute two queries in single CLICK event
    By jhargram in forum Queries
    Replies: 1
    Last Post: 07-25-2012, 06:17 AM
  2. Replies: 3
    Last Post: 05-07-2012, 12:17 PM
  3. Multiple 'AfterUpdates' referring to single Function
    By karmacable in forum Programming
    Replies: 3
    Last Post: 09-15-2011, 06:19 PM
  4. Date function within a Union Query
    By pmplyons in forum Programming
    Replies: 2
    Last Post: 08-24-2011, 11:33 AM
  5. Replies: 2
    Last Post: 07-19-2011, 04:28 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