Add the $.00 pennies if no value is present after the whole number?
In a suitable event use
TextBox1.Value=Format(TextBox1.Value,"#0.00")
NickHK
wrote in message
ups.com...
Hey all!
The idea is the following...
A person enters a value in to a textbox. Based on the valued entered
it may or may not have change... this is simply for uniformity in the
database. I'd like the following to happen...
End User types "$9.99" into textbox - nothing happens as it does have
a value after the period.
End User Types "$9" into textbox on exit the text box adds the ".00"
so it comes out to be "$9.00"
Any help is greatly appreciated!!
|