M
Max Moor
Hi All,
I'm trying to do an org chart, of sorts. A subreport, linking to the
main report with master and child fields, is used to show the "second
level" management below the top level people. The subreport draws
connector lines, like in an MS explorer file tree display.
The problem is that the last record in the second level (sub-report)
draws the same connector lines, even though there is no next-second-level-
person following. I have this dangling, attaches-to-nothing line left
over.
Is there a way, in VB code, maybe in the detail format event code of
the subreport, to detect that the subreport is displaying the last record
of the master's set? That way, I can set the lines .Visible property off,
and have the lines terminating with the last record, as expected.
- Max
I'm trying to do an org chart, of sorts. A subreport, linking to the
main report with master and child fields, is used to show the "second
level" management below the top level people. The subreport draws
connector lines, like in an MS explorer file tree display.
The problem is that the last record in the second level (sub-report)
draws the same connector lines, even though there is no next-second-level-
person following. I have this dangling, attaches-to-nothing line left
over.
Is there a way, in VB code, maybe in the detail format event code of
the subreport, to detect that the subreport is displaying the last record
of the master's set? That way, I can set the lines .Visible property off,
and have the lines terminating with the last record, as expected.
- Max