If the only thing that field can accept is numbers only, use an
InputMask on the field.
Defining the datatype will still allow them to enter letters, but I
think it will throw an error when they leave that field if they typed
in something that the datatype in the table won't allow. (such as a
letter in a Number datatype field)
lesparke@austarnet.com.au (Laurie) wrote in message news:<fef26cb7.0409200017.147bfc02@posting.google. com>...[color=blue]
> "PC Datasheet" <nospam@nospam.spam> wrote in message news:<oq03d.5889$n16.3898@newsread2.news.atl.earth link.net>...[color=green]
> > Notice that Doug's example is "D2" ---
> > 2 Decimal places
> >
> > --
> > PC Datasheet
> > Your Resource For Help With Access, Excel And Word Applications
> >
resource@pcdatasheet.com
> >
www.pcdatasheet.com
> >
> >
> > "Salad" <oil@vinegar.com> wrote in message
> > news:V203d.4032$gG4.2655@newsread1.news.pas.earthl ink.net...[color=darkred]
> > > Douglas J. Steele wrote:
> > > > Just be aware that things like 123E4 and 543D2 will be found as Numeric[/color][/color]
> by[color=green][color=darkred]
> > > > the IsNumeric function.
> > > >
> > > > (1230000 and 54300 respectively)
> > > >
> > >
> > > Interesting. I can understand somewhat the E4 thinking the power of.
> > > What is the "D"?[/color][/color]
>
> Thanks for all the replies. Just after posting the message I realised
> that defining the datatype was all I needed however the comment on
> IsNumeric took me by surprise. It is amazing what a seemly simple
> question can raise.
>
> Thanks
> Laurie[/color]