Re: Concatenating fields
- From: "Graham R Seach" <gseach@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 30 Mar 2006 23:47:41 +1100
Reggie,
Format(Field1, "000-") & Format(Field1, "00-") & Format(Field1, "000")
Regards,
Graham R Seach
Microsoft Access MVP
Canberra, Australia
---------------------------
"Reggiee" <Reggiee@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:920B6995-E5AD-4A82-9F0B-9BC403C1788D@xxxxxxxxxxxxxxxx
Hi,
I need to concatenate 3 fields where all the fields are number format.
The problem is this - when concatenating them I lose any leading 0's that
may exist in the original tables even thought ive formatted them as for
example 000 to make access put in the leading 0's.
How can I write some SQL which makes the answer more like 001-01-100
rather
than 1-1-100.
Hope this makes sense
Thanks
Reggiee
.
- Prev by Date: Re: expression
- Next by Date: Re: Count in a query
- Previous by thread: Re: Concatenating fields
- Next by thread: Re: expression
- Index(es):
Relevant Pages
|
|