I have a make table query that pulls data from a table and a query joined on common fields. When I view the query in datasheet view, 2 decimal places are showing on certain fields. However, when I run the table, the number fields are not showing 2 decimal places unless there are values in those decimal places (eg: 8.00 is converted to 8 and 6.50 is converted to 6.5). The output table must have 2 decimal places for these fields (total of 15) AND the end user does not want to fiddle with the output table each time it is run to reset the decimal places for these 15 fields. Therefore, I am trying to set a fixed number of decimal places in the make table query so that it transfers to the output table. I have tried the following expressions in the Expression Builder without success:
- HtAT2m: FormatNumber([HeightAT2m],2) The output in the table is a text and it must remain a number.
- HtAT2m: CDbl([HeightAT2m]) The output in the table still strips off the zero decimal places.
- HtAT2m: Round([HeightAT2m],2) The output in the table still strips off the zero decimal places.
- Format is set to Fixed, Decimal Places set to 2, Input Mask set to #.##. Output table still strips off the zero decimal places.