Results 1 to 7 of 7
  1. #1
    handsomealso is offline Novice
    Windows Vista Access 2007
    Join Date
    Apr 2013
    Posts
    16

    start date & end date

    Good Morning

    I prepare database for recruting in company and they are many exame in recruting. And each exam in seprate day.
    In the report if I want to print detailes in rang date (from - to).
    How I can do this?

    * I have many date in this database.

  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,963
    You want to filter report so that only records between a date range are retrieved?

    Apply filter criteria to date field of report RecordSource like:

    BETWEEN [start date] AND [end 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
    handsomealso is offline Novice
    Windows Vista Access 2007
    Join Date
    Apr 2013
    Posts
    16
    Thank You


    But If I have Multi date field?
    For example math exame, english exam....

  4. #4
    Parsonshere is offline Novice
    Windows 8 Access 2013
    Join Date
    Aug 2012
    Location
    Rusk
    Posts
    25
    A multi value field is set up just like you would do it manually, only Access hides the tables. Can u unhide the tables, and you may see how to do this. I am not sure this is helpful, but I assume you can access these hidden tables just as if you had made them yourself. I see no reason for those myself, I always make my own because I always want to do more than just see a multi-value. You do this from the navigation pane by right clicking on the bar that shows the object type such as table, form etc. I attempted to attach a screen shot. I don't know if this will be helpful or not.

  5. #5
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,963
    I NEVER use multi-value fields. If you want to search on the multi-value field then query must expand the field so each value is a separate record, just as the data would be if stored normally. Review: http://office.microsoft.com/en-us/ac...010149297.aspx

    How do you know what subject each exam date is for?

    Or did you mean you have multiple fields? Do you have a field for each exam date? This is not normalized data structure and definitely complicates filtering/sorting.
    Last edited by June7; 04-13-2013 at 02:13 PM.
    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.

  6. #6
    handsomealso is offline Novice
    Windows Vista Access 2007
    Join Date
    Apr 2013
    Posts
    16
    Thank you

    Yes I have multiple date fields.
    When Students take exam we enter the date.

    Thanks

  7. #7
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,963
    If you want to be able to filter for all the exams within a date range then would have to put the criteria under every date field but each on a separate row so the OR operator will apply. Will look like stair steps.

    Normalized data structure would be like:

    tblStudentsExams
    StudentID
    ExamName
    ExamDate

    Then there would be only one date field for range criteria.
    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. Replies: 3
    Last Post: 03-15-2013, 03:16 AM
  2. Between [start date] and [end date] won't work
    By BCJourney in forum Queries
    Replies: 7
    Last Post: 01-17-2013, 10:01 AM
  3. Replies: 15
    Last Post: 04-06-2012, 10:57 AM
  4. Replies: 1
    Last Post: 07-07-2010, 04:22 PM
  5. Replies: 1
    Last Post: 12-09-2005, 10:29 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