Hello,
I have two columns on a table, one Col A is an integer with zero decimal places and in Col B is formatted to 3 decimal places (0.020).
On the Report I have a textbox with data source formula: = iif([Col A]= 0, [Col B], [Col A]) If I format the textbox with 3 decimal place and the result in Col A is 2, it will show 2.000. I wanted it to show just "2". If the result is from Col B, it will be perfect.
If I format the textbox to zero decimal places and the result is from Col B, say 0.310, it will show as "0" or even I made the format as 1 decimal places still cut-off.
How would I make the decimal format conform with the result?
Thank you.
I have two columns on a table, one Col A is an integer with zero decimal places and in Col B is formatted to 3 decimal places (0.020).
On the Report I have a textbox with data source formula: = iif([Col A]= 0, [Col B], [Col A]) If I format the textbox with 3 decimal place and the result in Col A is 2, it will show 2.000. I wanted it to show just "2". If the result is from Col B, it will be perfect.
If I format the textbox to zero decimal places and the result is from Col B, say 0.310, it will show as "0" or even I made the format as 1 decimal places still cut-off.
How would I make the decimal format conform with the result?
Thank you.
Last edited: