I want to create a report on which a rectangle will be drawn for each record. The length of the record should be based on a numeric field from that record. Specifically, I would like two rectangles, one to serve as a border and one as a fill. They would work together as a chart.
For example, I might have a report to show progress toward a list of savings goals (each record representing one goal). The underlying table might have fields of goal and received. I could simply include an edit box that shows (received / goal) * 100 as text, but I'd like to give a graphical representation as well.
I assume I will need to access the rectangle properties through VBA (which is why I'm posting here, and not in the Microsoft: Acess Reports forum). But I don't know how to get the set of currently displayed records. Does anyone have an example showing how to do this?
There are probably solutions to my problem that are superior to the approach I'm trying to take. I'd be grateful to learn about any of these.
Thanks for your help,
Don
For example, I might have a report to show progress toward a list of savings goals (each record representing one goal). The underlying table might have fields of goal and received. I could simply include an edit box that shows (received / goal) * 100 as text, but I'd like to give a graphical representation as well.
I assume I will need to access the rectangle properties through VBA (which is why I'm posting here, and not in the Microsoft: Acess Reports forum). But I don't know how to get the set of currently displayed records. Does anyone have an example showing how to do this?
There are probably solutions to my problem that are superior to the approach I'm trying to take. I'd be grateful to learn about any of these.
Thanks for your help,
Don