Thanks, John. This is my first attempt to use this site - I had no idea so
much help was available.
"John W. Vinson" wrote:
> On Tue, 24 Apr 2007 17:02:01 -0700, Judy <(E-Mail Removed)>
> wrote:
>
> >I need to make a table using fields from a linked Oracle database. The SSN
> >field in the Oracle database is a Number, not text. Where there are leading
> >zeros, they are dropped. I need a way to replace the leading zeros in my new
> >table.
>
> You can use a calculated field:
>
> Format([numberfield], "000000000")
>
> or, if you want to actually store the hyphens,
>
> Format([numberfield], "000-00-0000")
>
> This function will return a Text datatype value which can be appended into a
> text field in your local table.
>
> John W. Vinson [MVP]
>
|