Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Problem with decimal places
I hope this is an easy one. I have a textbox on a form that is used to display and allow update of a price. The initial value on this textbox is 0.00 and when the user changes values, it keeps the 2 decimal places. In some cases, the user can select something else on that form and it will change the contents of the price textbox. When this happens, the value changes to 0 without the decimal places and the user can no longer add a decimal in that field - it tabs to the next one when they try.
I tried using SET FIXED ON, but that changes the decimal places on other fields on that form such as quantity. Is there any easy way to force the values in that textbox to stay with two decimal places? I tried debugging to find out where it changes, but it is several forms deep and I am having a very difficult time with the debugger when moving that deep.
Thanks,
Randy Wessels
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement