>I have put a spinner control on a form that accepts a user's selection for number of hours. I need the number of hours to increment by 1/2 hour (0.5).
>
>Apparently the spinner is rounding, because it displays zero until you click the up arrow twice, then it displays 1.
>
>Also, the spinner text box shows 0000001, 0000002, etc.
>
>Is there any way to make the spinner box show 0.1, 0.2, etc? TIA, CH.
Hi!
If the control is attached to a controlsource that is a field in a table, the decimal point should be there automatically and should increment properly (as long as the field has decimal places greater than 0.
If you have a controlsource that is a property or variable, then you must initialize the variable with a decimal component: IOW:
a=0.0
If you do not have a controlsource on the spinner, set the value property to 0.0.