croy said:
I have a number field (double) where it would be nice if
Access didn't show a leading zero. Decimal Places is set to
"Auto", and that is good, except for the leading zero.
Format is currently blank. Access 2002.
Do you mean that, for numbers less than 1, you want the displayed value to
start with the decimal point (e.g., ".123") instead of with the zero digit
(e.g., "0.123")? If so, why? It's easy to overlook the decimal place when
it isn't preceded by 0.
If this *is* what you want to do, you can easily set up a calculated control
that uses a combination of VBA functions to format the numeric value and
strip off the leading 0. But such a calculated control would not be
editable, so if you also need the user to be able to update the value, you'd
need a second text box to display the raw value, and some method to switch
between the two text boxes. Very doable, but a lot of trouble to go to if
it isn't really necessary.