Percent

G

Guest

I have a field called TAX. How should I setup the field
so when the user enters 6.5 the result will be 6.5%.
Currently I have the field set at long integer and format
as percent. When I enter 6.5 I get 650.00%.

Any help would be appreciated...

Rick
 
K

Kailash Kalyani

A quick and easy way is to add the following code to the after_update event
of your textbox

mytxtbox.value = mytextbox.value/100

hope that helps.
 
Top