A bar chart showing percentages?

G

Guest

Hello,

I've stuggled for ages to try and get a bar chart to show percentages but no
luck - can anyone help?

E.g. for a simple numeric 'number of children' field, I'd love to be able to
get:

0 |||||||||| 50%
1 |||| 20%
2 ||||| 30% etc.

....as a pie chart just isn't clear enough. Can I do this (in any way!) but
without modifing my table?

Any help very very much appreciated!!!
thanks, nicola
 
D

Duane Hookom

You can resize a text box or other control using code in the On Format event
like:

Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Me.txtBar.Width = Me.Quantity * 360
End Sub
 

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