Can anybody tell me an easy way to create a circular text box in a report , Basically I need it to display a single letter and have the circle background turn Green, red or yellow depending on the letter entered via a Input Form
You can use the CIRCLE method on reports, and fill the circe with a color. You can also position a text box over the circle and set the (display) order of the co-located controls to assure that the text is displayed in the foreground. See POH (Plain Old Help) for the info on the CIRCLE method.
Michael,
I just tried an experiment in Access 2000, with an image control. When I tried to use the "Circle" method, it doesn't appear. Am I missing something? HTH,
Randy Smith
California Teachers Association
Thanks for the info Randy, however this code is to create a Pie chart type circle in the report , I am sure for Access Wiz's it is easy to modify but to your average user it doesnt suit , how would you Modify the code to show just a solid colour ???
Just refer to help. Topic "CIRCLE". It ("CIRCLE", as clearly noted (inder the heading of "Applies To", only works (e.g. "Aplies To" report objects. But that IS the forum.
Hi,
Here is some relatively simple code to add a circle to the report. You will need to paste this into one of the "print" events:
' values are in twips, with 1,440 per inch
' 1st value is left to right position (4320)
' 2nd value is top to bottom positioning (1440)
' 3rd value is radius of circle (1000)
Me.Circle (4320, 1440), 1000
Me.FillColor = vbRed '(or vbGreen, or vbBlue, etc.)
Me.FillStyle = 0
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.