**DISCLAIMER**
I wrote this page and these scripts back in 2003, and haven't looked at them or touched them since that time. However I have noticed on my logs quite a few hits for this old page, so I have reinstated it. I may revisit the code, or I may just start it again, but time is not my friend at the moment, so don't get too excited!
All code is provided "as is" and no responsibility will be assumed if you use any code from this site in a production environment and anything goes wrong.
**END DISCLAIMER**
The following code will display a bar graph. It's completely customisable and dynamic. Just parse 5 variables to this function and you have any "counting" graph you want! Basically you can select any text field from any table in any database you want abd the function will work out all the options, count them and display them in a grpahical format with your chosen x any y axis labels and in your chosen colour.
Numerical and stacked versions are coming soon!
Also planning on doing some more commenting and making it a Sub not a Function.
The code counts like values and displays like the following (click the image for a live demo):
Instructions:
Versions: