Eliminating Blank Fields from reports

S

Steve

Greetings:

Using the "+" to peform a "null propagation" as outlined in
http://office.microsoft.com/en-us/access/HA011494721033.aspx
by Sal Ricciardi does not seem to work when the data is numeric. Is there a
work around for this?

For example:
=Trim([chrDataAlways] & ("; "+[chrDataSometimes]))
where chrDataSometimes is text data. This works!

=Trim([chrDataAlways] & ("; "+[intDataSometimes]))
where intDataSometimes is numeric data. This produces an error).

Thanks for any help.
 
A

Allen Browne

Use Str() around the numeric field:
=Trim([chrDataAlways] & ("; "+Str([intDataSometimes])))
 

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