Results 1 to 3 of 3
  1. #1
    ghostmachine is offline Novice
    Windows XP Access 2007
    Join Date
    Nov 2010
    Posts
    4

    Input mask messed up my field data type

    hi



    i have a date/time field called MyDate. Originally, its format is mm/dd/yyyy and there is no input mask. The Date Picker is also set. I then added input mask using Short date (99-99-0000;;_) and change the format to mm-dd-yyyy. However, when i switch to DataSheet view , all my dates are changed from mm/dd/yyyy to mm-dd-yyyy (which is the correct behaviour right? ) and when I tried to enter a new date in it says "The value you entered does not match Date/Time data type in this column". Plus, the DatePicker is missing. How can I resolve this. thank you

  2. #2
    NTC is offline VIP
    Windows Vista Access 2007
    Join Date
    Nov 2009
    Posts
    2,392
    A mask undoes date picker. It is one or the other. That's the first point.

    In terms of masks; it can be either at the table level or the form/control level - and it isn't clear which you are discussing. So if the mask is important - please clarify.

  3. #3
    ghostmachine is offline Novice
    Windows XP Access 2007
    Join Date
    Nov 2010
    Posts
    4
    thanks. its at field level. just one field called MyDate as i had indicated in my question. Its originally set to Date/Time data type. After input mask is applied, the error comes out when i try to change the date values.

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

Similar Threads

  1. Replies: 4
    Last Post: 10-31-2010, 10:35 AM
  2. Input mask frustration (decimals)
    By Remster in forum Forms
    Replies: 2
    Last Post: 10-29-2010, 09:33 AM
  3. Rookie Messed Up Main Input Form
    By genest11 in forum Forms
    Replies: 2
    Last Post: 01-14-2010, 02:17 PM
  4. day of week input mask
    By jacko311 in forum Programming
    Replies: 7
    Last Post: 11-15-2009, 12:56 PM
  5. Input mask
    By doobybug in forum Access
    Replies: 2
    Last Post: 06-17-2009, 09:40 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