Hi all,
I have a form with a subform where data is captured for purchase orders.
The subform has the Items, quantity ordered and the price per unit.
The table where it is stored, I have the PricePer as Number Type and Field Size set to Double.
In the subform, the text field "Format" is "Currency".
Although the user enters a number like "56.87" as the PricePer, the number is stored as "56" with no decimal.
I changed the text format to "Fixed" with the "Decimal Places" to 2, but with the same result.
I am saving the PricePer with this code:
Val(Me!Frm_POsubform.Form!("Price" & i))
In debug mode, it displays as 56 only. The text entered is 56.87.
Any suggestions to fix?
Thanks