Need help with graphical report
I'm not sure how to do what I need to do with RB, or even if it is possible.
The application in question manages ancient coin collections, and one
feature of this area of study is "die linking". It is a simple process
where you document coins that share the same obverse dies, and also coins
that share the same reverse dies. For example, coins A and B may share the
same obverse die, while coin B may share its reverse die with coin C, and
coin A may share its reverse die with coin D. When done with large series,
usually hoards, these die links can extend over perhaps dozens or hundreds
of coins.
I currently capture the obverse and reverse die numbers, and would like to
figure out a way to print a report which illustrates these links as simple
lines from one coin to another. I would like to use the coin images in
addition to the die information in order to show the links. I haven't a
remote idea on how to begin. First, is this possible with RB, and if so,
has anyone done anything remotely similar?
Any help at all will be very much appreciated!
Bill
The application in question manages ancient coin collections, and one
feature of this area of study is "die linking". It is a simple process
where you document coins that share the same obverse dies, and also coins
that share the same reverse dies. For example, coins A and B may share the
same obverse die, while coin B may share its reverse die with coin C, and
coin A may share its reverse die with coin D. When done with large series,
usually hoards, these die links can extend over perhaps dozens or hundreds
of coins.
I currently capture the obverse and reverse die numbers, and would like to
figure out a way to print a report which illustrates these links as simple
lines from one coin to another. I would like to use the coin images in
addition to the die information in order to show the links. I haven't a
remote idea on how to begin. First, is this possible with RB, and if so,
has anyone done anything remotely similar?
Any help at all will be very much appreciated!
Bill
This discussion has been closed.
Comments
would give you a vertical list of the coins. To draw the links, you will
need to use the OnEndPage event of the report to dynamically create draw
command objects on the page showing the links. For an example of creating
such draw commands, start with this demo which draw lines from the last
detail band to the bottom of the page. Basically, the approach is to use
the OnDrawCommandCreate event on a component to store it pritning position
on the page. You will need this measurement info (which is in thousandths of
millimeters) in order to draw the lines after the page has been generated.
By using the OnEndPage event, you can add/remove draw command to the page
object just before it is sent to the output device.
http://www.digital-metaphors.com/tips/DrawLineOnEachSide.zip
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com