Results 1 to 2 of 2
  1. #1
    data808 is offline Noob
    Windows XP Access 2010 32bit
    Join Date
    Aug 2012
    Posts
    727

    Filter Date Text Box

    I've been setting up some query forms with text boxes. These forms are split forms with datasheet on bottom. I have some filter unbound text boxes with a filter button and undo filter button. The question I have is for my date text boxes. The date text boxes work to filter out the specific date that I'm looking for but I have to type it EXACTLY how the date is formatted in the datasheet. Example: 9/15/2010. I cannot type 9-15-2010 or 09/15/2010 because its not EXACTLY the same as the date in the datasheet so it will give me no records.

    Is there a way to make it so the text box can convert the date into the correct format so it is able to filter what I need?



    Any help is appreciated.

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    What is the data type of the date field in the table? Sounds like it may be text rather than date/time. You might also want to give the textbox a date format.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 3
    Last Post: 09-11-2013, 09:49 AM
  2. Replies: 3
    Last Post: 05-02-2013, 01:59 PM
  3. Filter Value from a form placed in a text box
    By Musicguy2112 in forum Forms
    Replies: 5
    Last Post: 10-31-2011, 04:01 PM
  4. Text Box Filter Question
    By ShadeRF in forum Forms
    Replies: 4
    Last Post: 06-07-2011, 07:58 AM
  5. Filter non-text data
    By bdriscoll in forum Access
    Replies: 2
    Last Post: 09-25-2009, 05:49 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