Don't display value if data source value = 0?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a form, whose data source is a a table-column. If a specific displayed
record has a zero (0) for a value, I want to show a <blank> instead of the
zero. I've been beating on this for awhile now, and have been unable to do it
successfully. If I create an unbound field in the form, and source or default
it using an IIF statement, it works fine, but DOES NOT update when the
records are stepped through (using GoToNextRec and GoToPrevRec methods).

Any ideas? I'm stumped.

Thanks!!
 
I have a form, whose data source is a a table-column. If a specific displayed
record has a zero (0) for a value, I want to show a <blank> instead of the
zero. I've been beating on this for awhile now, and have been unable to do it
successfully. If I create an unbound field in the form, and source or default
it using an IIF statement, it works fine, but DOES NOT update when the
records are stepped through (using GoToNextRec and GoToPrevRec methods).

Any ideas? I'm stumped.

Thanks!!

Using a regular bound control is fine.
Set it's format property to
#;-#;""

Look up in Access help:
Format property + Number and Currency datatype
 
Thanks! This was kind-of an emergency, hence my posting to two newsgroups.
 

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

Back
Top