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 Help



 
 
Thread Tools Display Modes
  #1  
Old October 7th, 2009, 04:38 PM posted to microsoft.public.access.tablesdbdesign
Aurora
external usenet poster
 
Posts: 224
Default Input Help

I am working on MS Access 2003.
I have a field that I want to start with "PM--" and then allow the user to
add 6 numbers after that. I have forgotten how to set this up in my
Database. Can someone please help me?

Aurora
  #2  
Old October 7th, 2009, 06:35 PM posted to microsoft.public.access.tablesdbdesign
John W. Vinson
external usenet poster
 
Posts: 18,261
Default Input Help

On Wed, 7 Oct 2009 08:38:01 -0700, Aurora
wrote:

I am working on MS Access 2003.
I have a field that I want to start with "PM--" and then allow the user to
add 6 numbers after that. I have forgotten how to set this up in my
Database. Can someone please help me?

Aurora


If the field ALWAYS contains PM-- at its beginning, then you would do best not
to store it at all; you can *display* it by using a Format property like

"PM\-\-000000"

How do you want to handle fewer than six digits: prohibit entry? leading
zeros? trailing blanks?
--

John W. Vinson [MVP]
 




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 03: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.