K
kfrost
Hello,
I have a form that connects to a SQL database. I've got three fields in a
repeating section called Gallons, PPG, Cost.
All three fields in SQL are decimal with 6 for scale and 2 for precision.
(Meaning all numbers should be 2 decimal places. For the cost field it is a
text box with the same settings. The formula set for it is @Gallons * @PPG
However, sometimes if you enter in say 157.89 for gallons and 2.11 for PPG
these fields will show up with a Red field around them saying invalid
entries. Some times you can take and delete the numbers and retype them and
everything is ok.
I have a similar problem with the cost field. Some times the cost field
will have value of something like 333.14790000 even though you specify in the
properties of the field to limit the number to 2 decimal places.
I would like to set the cost field as read only but with these problems I
can't. Any ideas as to what might be going on?
Thanks.
kris
I have a form that connects to a SQL database. I've got three fields in a
repeating section called Gallons, PPG, Cost.
All three fields in SQL are decimal with 6 for scale and 2 for precision.
(Meaning all numbers should be 2 decimal places. For the cost field it is a
text box with the same settings. The formula set for it is @Gallons * @PPG
However, sometimes if you enter in say 157.89 for gallons and 2.11 for PPG
these fields will show up with a Red field around them saying invalid
entries. Some times you can take and delete the numbers and retype them and
everything is ok.
I have a similar problem with the cost field. Some times the cost field
will have value of something like 333.14790000 even though you specify in the
properties of the field to limit the number to 2 decimal places.
I would like to set the cost field as read only but with these problems I
can't. Any ideas as to what might be going on?
Thanks.
kris