Results 1 to 4 of 4
  1. #1
    P5C768 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Aug 2009
    Location
    Denver, CO
    Posts
    95

    Enter Wildcards for Date Parameters

    Found a great post by a forum user here:
    http://www.access-programmers.co.uk/...d.php?t=143346



    But I'm still wondering if I can enter a wildcard into a date field parameter that uses:
    Code:
    Between [Start Date] and [End Date]
    I'd like uses to be able to pick a specific date range, everything before/after a date or just get all records in the database. Is that possible?

  2. #2
    HiTechCoach's Avatar
    HiTechCoach is offline MS MVP - Access Expert
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jul 2010
    Location
    Oklahoma, USA
    Posts
    702
    For all enter 1/1/1900 to 12/31/2099 or some range you know will exceed the possible data.

  3. #3
    P5C768 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Aug 2009
    Location
    Denver, CO
    Posts
    95
    The users of this database aren't the sharpest tools in the shed (i.e. their most common computer problem is forgetting to turn on their monitor) so trying to explain why they should use dates like that wouldn't go over well.

    However, you did solve my problem because I'll just create a button that uses those dates if clicked and call it "All Records" or something that is hopefully self explanatory.

    Although I'll provide a user manual, I'm still looking forward to the questions I'll get...

  4. #4
    HiTechCoach's Avatar
    HiTechCoach is offline MS MVP - Access Expert
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jul 2010
    Location
    Oklahoma, USA
    Posts
    702
    Are you using parameter prompts in the query?

    I find it best to use a form to collect the criteria for reports. I never use parameter prompts in queries. No way to validate the data or help the user.

    This might help: Report Dialog Examples

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

Similar Threads

  1. Replies: 1
    Last Post: 03-05-2011, 03:05 PM
  2. Replies: 5
    Last Post: 02-06-2011, 04:32 PM
  3. date range form values as parameters
    By cfnieder in forum Forms
    Replies: 8
    Last Post: 08-11-2010, 01:48 PM
  4. Replies: 0
    Last Post: 07-27-2009, 07:51 AM
  5. Form to enter all parameters in a macro
    By jackthedog in forum Access
    Replies: 0
    Last Post: 05-05-2009, 04:47 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