A
Alex H
Hi In the detail part of a report, i have a field [Value], and against each
I am wanting to place a bar to respresent the value ( rather like a
horizontal bar chart).
Iam using the following code:
Const MaxBarWidth = 567 * 7
Dim MaxValue As Double
MaxValue = 0
If [Value] > MaxValue Then MaxValue = [Value]
BoxE1.Width = CLng(([Value] / MaxValue) * MaxBarWidth)
BoxE1.Visible = True
I have tested for the value and that changes for each detail, but the bars
are all the same length for some reason.
Can anyone see what I've done wrong please
thanks
A
I am wanting to place a bar to respresent the value ( rather like a
horizontal bar chart).
Iam using the following code:
Const MaxBarWidth = 567 * 7
Dim MaxValue As Double
MaxValue = 0
If [Value] > MaxValue Then MaxValue = [Value]
BoxE1.Width = CLng(([Value] / MaxValue) * MaxBarWidth)
BoxE1.Visible = True
I have tested for the value and that changes for each detail, but the bars
are all the same length for some reason.
Can anyone see what I've done wrong please
thanks
A