Format number field to show Percent

K

Kaylen

The code works! Thank you Clifford!

Clifford Bass said:
Hi Kaylen,

Try this instead:

If Not IsNull(controlname) And Right(controlname, 1) <> "%" Then
controlname = controlname / 100
End If

Clifford Bass
 
J

John W. Vinson

With Access 2007 I believe all you have to do is set the control's Format
property to Percent.

That is what I had not realized. That certainly makes it simpler than my
suggestion!
 
K

Kaylen

Thank you for everyone' s help and suggestions. I am able to format the
number to Percent the way I would like to! Thank you all for being so helpful!
 

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