G
Guest
OK, I'm puzzled with this, I can not find any help on Internet. Can not
believe nobody had this problem before. Here it is in brief - I have text
field on detail section of a report which is bound to a numeric field
"Quantity". I want this field to hide value if it's zero, so it's custom
format is something like this:
#,##0.00;-#,##0.00;#;'Null'
This is fine, but only when decimal places property for field is 0 or 2
If number of decimal places is changed to 1 or 3 and more, field that should
show nothing will now display something like .0 or .000
What's more, it gets misaligned, but this is less of a problem.
I'm using Access 97, do not know if the same behaviour is with later
versions of Access. Please let me know if you need more details on how to
reproduce the misbehaviour, but it should be easy. Simply set the format to
something like above, set decimal places property to 1 and display numeric
values from some table on the report (numeric values that equal to zero will
be shown as .0 instead of being not shown at all). Any help appreciated.
Miroslav
believe nobody had this problem before. Here it is in brief - I have text
field on detail section of a report which is bound to a numeric field
"Quantity". I want this field to hide value if it's zero, so it's custom
format is something like this:
#,##0.00;-#,##0.00;#;'Null'
This is fine, but only when decimal places property for field is 0 or 2
If number of decimal places is changed to 1 or 3 and more, field that should
show nothing will now display something like .0 or .000
What's more, it gets misaligned, but this is less of a problem.
I'm using Access 97, do not know if the same behaviour is with later
versions of Access. Please let me know if you need more details on how to
reproduce the misbehaviour, but it should be easy. Simply set the format to
something like above, set decimal places property to 1 and display numeric
values from some table on the report (numeric values that equal to zero will
be shown as .0 instead of being not shown at all). Any help appreciated.
Miroslav