How can I make a form accept percentages as Excel does?

G

Guest

In excel, once I've formatted a number as a percent, I can enter 5.3% as "5.3".

In my access form right now, I have to enter ".053" to get 5.3%. Is there
any way to do this?

Bonus question....In a different field, I'd like to enter a number in
thousands, but have it stored as the actual number. (ie enter 1000 for 1
million, but store the number 1000000.)

Thanks in advance.
 
G

Guest

Add a macro in the After Update line that sets value of your control, call it
percentage, to percentage/100
 
A

adsl

consumer said:
In excel, once I've formatted a number as a percent, I can enter 5.3% as
"5.3".

In my access form right now, I have to enter ".053" to get 5.3%. Is there
any way to do this?

Bonus question....In a different field, I'd like to enter a number in
thousands, but have it stored as the actual number. (ie enter 1000 for 1
million, but store the number 1000000.)

Thanks in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top