A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Input Mask Help



 
 
Thread Tools Display Modes
  #1  
Old April 26th, 2004, 08:17 PM
DD
external usenet poster
 
Posts: n/a
Default Input Mask Help

Hello kind and helpful people. I have a field in a table
for which the syntax is 8 characters (both alpha and
numeric). The last 3 digits of these 8 characters will be
capital ACC. Examples: 12345ACC or A4B3CACC. I need help
with the input mask. I would think the beginning part of
the mask would be &&&&& (5 digits or characters required)
but then I do not know how to force the ACC in all caps
immediately after these 5 characters and make them appear
so that the user is not required to enter them. Thanks in
advance.
  #2  
Old April 27th, 2004, 04:03 AM
DDM
external usenet poster
 
Posts: n/a
Default Input Mask Help

DD, this will do it: &&&&&"ACC";;_ (put at the beginning if you want caps
throughout).

DDM
"DDM's Microsoft Office Tips and Tricks"
www.ddmcomputing.com

"DD" wrote in message
...
Hello kind and helpful people. I have a field in a table
for which the syntax is 8 characters (both alpha and
numeric). The last 3 digits of these 8 characters will be
capital ACC. Examples: 12345ACC or A4B3CACC. I need help
with the input mask. I would think the beginning part of
the mask would be &&&&& (5 digits or characters required)
but then I do not know how to force the ACC in all caps
immediately after these 5 characters and make them appear
so that the user is not required to enter them. Thanks in
advance.



  #3  
Old April 27th, 2004, 05:47 PM
Tim Ferguson
external usenet poster
 
Posts: n/a
Default Input Mask Help

"DD" wrote in
:

The last 3 digits of these 8 characters will be
capital ACC. Examples: 12345ACC or A4B3CACC. I need help
with the input mask.


If the ACC is always going to be ACC, then don't store it at all:- just use
the Format property to stick it on in the text box.

If the ACC might change, and if it means something, then you probably
should be storing it in a separate field anyway, and concatenating them in
the textbox on the report or the form.

HTH


Tim F

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:23 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.