Calculator Field

D

DS

I want to have a calculator field....as such.
the textbox would by default this... 0.00
then when you enter lets say 1 it would read this... 0.01
then when you enter another number it would be ... 0.10
a third number... 1.00
a fouth 10.00
etc..........
the numbers would be entered from command buttons..and displayed in a
text field. So I'm guessing that the codeing is on the textfield?
thanks
DS
 
D

DS

DS said:
The problem that I seem to be having is keeping the decimal place in
place. I don't want to have to add the decimal, I want it to be there
and the numbers move over automatically.
Thanks
DS
Thanks, I can't seem to get his webpage to load. Is there anywhere else
I could grab this!
DS
 
D

DS

DS said:
Thanks, I can't seem to get his webpage to load. Is there anywhere else
I could grab this!
DS
Ok I have this, which works, but I have it on a command button, after
the fact. So if you put all of the numbers in and hit this code. it
makes it a currency read out. But I need this to happen realtime.

Me.Text16 = CCur(Me.Text16.Value) / 100

Thanks
DS
 
D

DS

DS said:
Ok I have this, which works, but I have it on a command button, after
the fact. So if you put all of the numbers in and hit this code. it
makes it a currency read out. But I need this to happen realtime.

Me.Text16 = CCur(Me.Text16.Value) / 100

Thanks
DS

Getting Closer, I guess...but this doesn't dispaly as you type. It
works only on the After Update Event. I need to apply thia as you
type...any ideas?
Thanks
DS

Dim strX As String
strX = Left(TxtDecimal.Value, Len(Trim(TxtDecimal.Value)) - 2) &
"." & right(TxtDecimal.Value, 2)

TxtDecimal.Value = Format(strX, "$0.00")
 
Top