Solved

MS Access Input Mask

Posted on 2011-02-28
10
522 Views
Last Modified: 2012-05-11
In MS Access for the input mask:
How do you insert a double space where the user only enters numbers or letters and not have to manually enter a double space.

EX:
02  28  2011

I created a form and inserted a picture (jpg) of a document that needs to be filled-out.  The document has boxes so I need to space the numbers or letters to fit in the box.  I know how to enter single spaces but not double.  In the example above when it comes to double spaces the user is forced to hit the space bar twice.  For single spacing, the spaces are entered automatically by Access so it’s continues typing.

Any help would be appreciated.
0
Comment
Question by:Reyesrj
  • 6
  • 4
10 Comments
 
LVL 5

Expert Comment

by:kpltechgroup
ID: 35002401
2 spaces your could do either:

"(PressSpaceBarTwice)"

or

\(PressSpacebar}\(PressSpacebar)

Both of these would perform the same results
C\ C\ \ C\ \ C

or

C" "C" "C" "C

For more info see here http://bytes.com/topic/access/answers/202491-help-input-mask-spce
0
 
LVL 5

Expert Comment

by:kpltechgroup
ID: 35002416
##"  "##"  "##

I think would be the exact mask
0
 

Author Comment

by:Reyesrj
ID: 35003082
If I enter "0\ 0\ 0\ 0" into the input mask this is what happens:

I type: "1234"
I get: "1 2 3 4"

No need to type the spaces.

The examples you gave makes it mandatory to type a space.  No other characters can be entered.  In my example Access enters the space for you after each character. So I type only "1234" (without typing a space) and the results are "1 2 3 4".  How would you apply this to a double space?  Entering two spaces after the \ or between two quotes I get:

I type: "1 2 3 4"
I get: "1  2  3  4"
0
 
LVL 5

Expert Comment

by:kpltechgroup
ID: 35003115
so you want someone to enter 1234 and have the output be 1..2..3..4?

. = space
0
 

Author Comment

by:Reyesrj
ID: 35003227
kpltechgroup

Yes, it's the double space I'm having trouble with.  This would make data input much faster.
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 5

Expert Comment

by:kpltechgroup
ID: 35003238
I dont have Access here at work

so you can use "  " in the input mask you have to enclose the double space in  quotes
0
 
LVL 5

Expert Comment

by:kpltechgroup
ID: 35003582
try input mask
00"  "00"  "00
0
 
LVL 5

Accepted Solution

by:
kpltechgroup earned 500 total points
ID: 35003601
Oh and try

99CC99CC99CC;0;
0
 

Author Comment

by:Reyesrj
ID: 35052913
Tried it all.  It still requires the user to enter a space.  when a single space is entered it inserts a double space.
0
 

Author Closing Comment

by:Reyesrj
ID: 35079473
Thanks any way.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
We were having a lot of "Heartbeat Alerts" in our SCOM environment, now "Heartbeat" in a SCOM environment for those of you who might not be familiar with SCOM is a packet of data sent from the agent to the management server on a regular basis, basic…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now