Results 1 to 12 of 12
  1. #1
    warmanlord is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2015
    Posts
    30

    Input Mask

    Hello all,



    It seems very simple what I am doing, but I am seeming to not come up with the correct answer yet. I am trying to add an input mask to my video Field, so that it is always enter correctly. V-1-2015, what I have so >"V-"099\-0000, but it is showing spaces if nothing is inputted for the 99 fields, if I add in !>"V-"099\-0000 it then removes those spaces since those are optional characters, but then the V is no longer capitalized. How can I correctly have an input mask that keeps the V always capitalized and have mandatory fields and optional fields without spaces. I want it to come out as V-1-2015, or V-11-2015 or V-111-2015. Thanks again for help.

  2. #2
    LaughingBull is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Jul 2015
    Location
    Toledo Ohio
    Posts
    143
    Mask Character Meaning.zip check this out hope it helps

  3. #3
    warmanlord is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2015
    Posts
    30
    Yeah i been using this site https://support.office.com/en-us/art...2-4a47832de8da

    as it has provided most of the information, i just dont know what the formatting isnt excluding the spaces or when I am able to with the ! sign, it is no longer capitalized.

  4. #4
    LaughingBull is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Jul 2015
    Location
    Toledo Ohio
    Posts
    143
    when you input the data with the 3 optional space enter space space then the I and see it that works

  5. #5
    LaughingBull is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Jul 2015
    Location
    Toledo Ohio
    Posts
    143
    or use the &&& you must enter a space or a character

  6. #6
    warmanlord is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2015
    Posts
    30
    I guess there is two ways to go about this, do an input mask and then do a format on the input mask.

  7. #7
    warmanlord is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2015
    Posts
    30
    Ok, so after playing with it I got this >"V-"0&&\-0000!

    that seems to work, even though I don't really get the \, since I had initially put it in "-"0000 but it was converted to \-0000

    Is this a Valid input mask >"V-"0&&\-0000!, it seems to do what i want it to do, so far.

  8. #8
    warmanlord is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2015
    Posts
    30
    Never mind that seem to work but didnt as it requires you to enter a space or a digit in that area before the user can move on.

  9. #9
    warmanlord is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2015
    Posts
    30
    !>"V-"099\-0000;0

    This seems to work and formats it correctly, the only other question i have is this, when typing you have to move the cursor to the last field after you input the first number how could I allow some who hit the - key to automatically move to the next field in the input mask, instead of using the cursor.

  10. #10
    LaughingBull is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Jul 2015
    Location
    Toledo Ohio
    Posts
    143
    in the table under is required select yes for that field so if they do not put all three in they will get a notice to enter before they can continue

  11. #11
    warmanlord is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2015
    Posts
    30
    Quote Originally Posted by LaughingBull View Post
    in the table under is required select yes for that field so if they do not put all three in they will get a notice to enter before they can continue
    Not entirely sure what you mean by this

  12. #12
    LaughingBull is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Jul 2015
    Location
    Toledo Ohio
    Posts
    143
    open your table in design mode where this data is stored ad select that field and the properties at the bottom one of the selections is is required and select yes. if a person does not enter 3 charters or spaces it will not let them continue

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

Similar Threads

  1. Input Mask
    By PRHoff in forum Access
    Replies: 2
    Last Post: 02-19-2015, 09:00 AM
  2. Input Mask
    By kdbailey in forum Access
    Replies: 4
    Last Post: 12-19-2014, 08:11 AM
  3. input mask
    By slimjen in forum Forms
    Replies: 7
    Last Post: 10-07-2013, 03:20 PM
  4. Input Mask
    By qbc in forum Access
    Replies: 2
    Last Post: 01-20-2012, 03:27 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