L
LarsM
In a table I have a numerical value defined as single precision. In a form I
have a text box, where I indicate the value, and where I can also change the
value, if I want. The value is always in the range > 0 and < 1. The text box
is 1.2 cm (about 0.47 ") wide. With "Font Name" = "Calibri" and "Font Size" =
11 this should give place for indicating the value wtih 4 decimals.
A correct decimal indication of a value stored with single precision can in
princpiple have an infinite number of decimals. In the field in the form with
limited width the value is basically shown as "############". When I go into
the field, as if I want to change the value, the value is shown with 7
decimals, so I have to use left and right arrows (or "home" and "end") to see
the value. If I use "home" once or "left arrow" several times, I see a zero
followed by a decimal point and the first 3 decimals. With right arrow I see
more decimals. As soon as I leave the field, the value is again shown as
"############". Basically I use "Decimal Places" = "Auto", but I also tried
"Decimal Places" = 3 or 2 or 1. This didn't do any difference. I also tried
to change some of the other "format" parameters of the text box without
result.
I wonder why MS Access in a case like this pr default doesn't just show as
many decimals as possible depending on the actual width of the text box? When
it is not so, I would like to know what to do to indicate a value (other than
"############") in this field whithout having to go into the field as if I
would type a new value.
I have MS Access 2007. I don't remember having the same problem with 2003,
but I am not completely sure.
I would be thankful, if anyone has a solution to this.
LarsM
have a text box, where I indicate the value, and where I can also change the
value, if I want. The value is always in the range > 0 and < 1. The text box
is 1.2 cm (about 0.47 ") wide. With "Font Name" = "Calibri" and "Font Size" =
11 this should give place for indicating the value wtih 4 decimals.
A correct decimal indication of a value stored with single precision can in
princpiple have an infinite number of decimals. In the field in the form with
limited width the value is basically shown as "############". When I go into
the field, as if I want to change the value, the value is shown with 7
decimals, so I have to use left and right arrows (or "home" and "end") to see
the value. If I use "home" once or "left arrow" several times, I see a zero
followed by a decimal point and the first 3 decimals. With right arrow I see
more decimals. As soon as I leave the field, the value is again shown as
"############". Basically I use "Decimal Places" = "Auto", but I also tried
"Decimal Places" = 3 or 2 or 1. This didn't do any difference. I also tried
to change some of the other "format" parameters of the text box without
result.
I wonder why MS Access in a case like this pr default doesn't just show as
many decimals as possible depending on the actual width of the text box? When
it is not so, I would like to know what to do to indicate a value (other than
"############") in this field whithout having to go into the field as if I
would type a new value.
I have MS Access 2007. I don't remember having the same problem with 2003,
but I am not completely sure.
I would be thankful, if anyone has a solution to this.
LarsM