format data where combined txt & numberfields; access 2002 rpt?

G

Guest

I'm trying to get my report to combine two data fields into a single output
that contains bioth text & numeric data in a given format. "AAA000"
When I combine them the numeric defaults to the "999" format.
Instead of getting "ARE001" it reports "ARE1".
Any suggestions?
 
J

John Vinson

On Tue, 14 Nov 2006 15:39:57 -0800, Peter New Zealand <Peter New
I'm trying to get my report to combine two data fields into a single output
that contains bioth text & numeric data in a given format. "AAA000"
When I combine them the numeric defaults to the "999" format.
Instead of getting "ARE001" it reports "ARE1".
Any suggestions?

Use the Format() function to specify the numeric format:

[Textfield] & Format([numericfield], "000")

John W. Vinson[MVP]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top