I have form that allows users to update inventory and a automated module that updates inventory as invoices are entered. Boxes is a table field format double. Boxes = Onhand / quanity in box.
Now my automatic update processes calculates boxes each time it updates. I am ending up with fields with 4.66666666... this displays as ######## on reports and forms. In fact the user never needs to see more than two decimal places rounded.
I have tried several things. Including standard and fixed format. Although they display the correct format when the user goes to the field to update it it displays 4.66666666... and does not always put the cursor in the first position.
Is there a way to get this field to display 4.67, or 4 no decimal if its a whole number, like General format. Also have it only allow the user to enter 4.66, 4.5, or 4?
Now my automatic update processes calculates boxes each time it updates. I am ending up with fields with 4.66666666... this displays as ######## on reports and forms. In fact the user never needs to see more than two decimal places rounded.
I have tried several things. Including standard and fixed format. Although they display the correct format when the user goes to the field to update it it displays 4.66666666... and does not always put the cursor in the first position.
Is there a way to get this field to display 4.67, or 4 no decimal if its a whole number, like General format. Also have it only allow the user to enter 4.66, 4.5, or 4?