I have a text boxes with source as a Numeric datatype.
I want to have dash displayed when there is no value and I use
=IIf([CountOfPhone]="","--",[CountOfPhone])
or
=IIf(ISNULL([CountOfPhone]),"--",[CountOfPhone]))
It will display numbers. No manipuilations. All counts and averages were done in Access and appended to a table that is the Source for this Report.
Now few text boxes set to display values from the table and client wants to make sure there is no missing value by seeing dash if nothing to display.
It is so easy - it makes me sick! LOL
Mine is 2003 converted and to be totally honest I was too lazy to change names because I had to change about 50!
But when I was TOLD - it is a diff story!
Hence the reason for naming conventions.
ie textboxes should prefixed with txt
labels with lbl
tables with tbl
These also help in identifying the type of the control. You can use your own conventions but there are established ones out there.
Ian Mayor (UK) Program Error
Always make your words short and sweet. Because you never know when you may have to eat them.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.