dbTalk Databases Forums  

field size

comp.databases.ms-access comp.databases.ms-access


Discuss field size in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
kevcar40
 
Posts: n/a

Default field size - 07-23-2010 , 02:49 AM






hi
i have a field in a table which has bees set to 12 Characters
what i would like to do is make sure the user enter 12 characters
also the string will contain only number

any help please

thanks

kevin

Reply With Quote
  #2  
Old   
Phil
 
Posts: n/a

Default Re: field size - 07-23-2010 , 06:23 AM






On 23/07/2010 08:49:29, kevcar40 wrote:
Quote:
hi
i have a field in a table which has bees set to 12 Characters
what i would like to do is make sure the user enter 12 characters
also the string will contain only number

any help please

thanks

kevin

On the field Input Mask use "000000000000" without the inverted commas (12
zeros)

Phil

Reply With Quote
  #3  
Old   
Marshall Barton
 
Posts: n/a

Default Re: field size - 07-23-2010 , 11:33 AM



kevcar40 wrote:
Quote:
i have a field in a table which has bees set to 12 Characters
what i would like to do is make sure the user enter 12 characters
also the string will contain only number
Try setting the field's Validation Rule property to:
Like "############"
and maybe set the ValidationText property to a meaningful
message,

--
Marsh

Reply With Quote
Reply




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 On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.