473,408 Members | 2,813 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Graphical Report Examples?

I've got this little app that tracks metadata from about a dozen different
systems and feeds.

Seems to have all the mapping info that's needed to follow a data element from
one place to another...and I've put together a couple of reports that do that.

Problem is that, so far, the reports aren't real easy to look at...or for the
user to understand...

Seems like this begs for a graphical presentation - something where I put an
object representing the DB of reference in the center of a page, then draw
objects representing varous sources/feeds/destinations around it and connect
them with arrows.

But I haven't got a clue.....

Anybody know of some sample code that does something like this? The MS code
behind the "Relationships" report would probably be the kind of thing I'm trying
to do.
--
PeteCresswell
Nov 13 '05 #1
5 3803
Pete,

Have you looked at the org chart in Excel to see if that will work for you?

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com
"(Pete Cresswell)" <x@y.z> wrote in message
news:63********************************@4ax.com...
I've got this little app that tracks metadata from about a dozen different
systems and feeds.

Seems to have all the mapping info that's needed to follow a data element from
one place to another...and I've put together a couple of reports that do that.

Problem is that, so far, the reports aren't real easy to look at...or for the
user to understand...

Seems like this begs for a graphical presentation - something where I put an
object representing the DB of reference in the center of a page, then draw
objects representing varous sources/feeds/destinations around it and connect
them with arrows.

But I haven't got a clue.....

Anybody know of some sample code that does something like this? The MS code
behind the "Relationships" report would probably be the kind of thing I'm trying to do.
--
PeteCresswell

Nov 13 '05 #2
DFS
(Pete Cresswell) wrote:
I've got this little app that tracks metadata from about a dozen
different systems and feeds.

Seems to have all the mapping info that's needed to follow a data
element from one place to another...and I've put together a couple of
reports that do that.

Problem is that, so far, the reports aren't real easy to look at...or
for the user to understand...

Seems like this begs for a graphical presentation - something where I
put an object representing the DB of reference in the center of a
page, then draw objects representing varous
sources/feeds/destinations around it and connect them with arrows.

But I haven't got a clue.....
Unless it needs to be updated dynamically based on the various feeds, you
could draw a Visio chart and just cut and paste it into the Access report as
a fixed object.

Heck, Visio has VBA embedded in it - you can probably drop a Visio diagram
into an Access report and manipulate the diagram programmatically. Check
here.

http://www.mvps.org/visio/VBA.htm
Anybody know of some sample code that does something like this? The
MS code behind the "Relationships" report would probably be the kind
of thing I'm trying to do.


Nov 13 '05 #3
> Have you looked at the org chart in Excel to see if that will work for you?

No. Will do. Thanks...

(DFS, the data is dynamic)
Nov 13 '05 #4
Pete,

See if any of this is of any use --

Steve
PC Datasheet

Borders, Circles and Lines in a Report

Access has Line and Rectangle tools you can use to create simple graphic effects
on reports (and you can also make text box and label borders visible, as I did
for the Year text box in the Books by Year report). However, you can also create
special graphic effects by using a set of antiquated DOS methods, functions and
properties that have been carried over into Access VBA. Be warned: these
techniques are not easy to use, and some of them can be excruciatingly slow in
operation (though if you have a fast computer, that won't be so problematic). I
won't go into detail about using the DOS print techniques; refer to Access Help
topics for the Line and Circle method for details (possibly more details than
you want), and some examples of usage.

Vertical Line Next To A Textbox

If you want a vertical line next to a textbox with its CanGrow property set to
Yes, and you want that line to be the same height as the text box, you can use
the Line method and the RGB function (together with some of the more obscure
report properties) to achieve this result. The code below runs from the Print
event of the report's Detail section, and the figure shows the report with the
green line next to a txtNotes text box which has expanded because it contains a
large amount of text.

Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)

Dim sngTop As Single

Dim sngLeft As Single

Dim sngHeight As Single

Dim sngBottom As Single

sngTop = Me![txtNotes].Top

sngHeight = Me![txtNotes].Height

sngLeft = 2300

sngBottom = sngTop + Me![txtNotes].Height

Me.DrawStyle = 6

Me.DrawWidth = 12

Me.Line (sngLeft, sngTop)-(sngLeft, _

sngBottom), RGB(0, 255, 0)

End Sub

Circle

The Circle method is the only way you can draw a circle, arc or ellipse on an
Access report (unless you want to create it in Paintbrush and place it in an
Image control). The sample code below, running from the report's Page event
procedure, draws a red quarter-circle (which could possibly be used as a logo)
on a report:

Private Sub Report_Page()

Me.DrawWidth = 500

Me.Circle (25, 25), 2000, 255

End Sub

Border

A final DOS print effect is to place a border around the entire report page, as
in the code below, which also runs from the report's Page event procedure:

Private Sub Report_Page()

Me.Line (1, 1)-(Me.ScaleWidth, Me.ScaleHeight), , B

End Sub

"PeteCresswell" <Go**********@FatBelly.com> wrote in message
news:74**************************@posting.google.c om...
Have you looked at the org chart in Excel to see if that will work for you?


No. Will do. Thanks...

(DFS, the data is dynamic)

Nov 13 '05 #5
RE/
(DFS, the data is dynamic)


.... and we're talking about 17,000 separate fields in the app's current data
load.
--
PeteCresswell
Nov 13 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Steven Stewart | last post by:
I have a user who has been using Excel for a while to keep statistics and print reports. She finds using it cumbersome because of long formulas and a lot of copying and pasting. I have designed...
1
by: Nathan Bloomfield | last post by:
Does anyone know if there is any documentation which relates to Access2k + ? or can anyone help adjust the code? I am having trouble converting the DAO references. TITLE :INF: How to...
1
by: Megan | last post by:
quick summary: i'm having problems trying to group fields in a report in order to calculate percentages. to calculate percentages, i'm comparing the results from my grouped fields to the totals....
6
by: Mike Conklin | last post by:
This one really has me going. Probably something silly. I'm using dcount for a report to determine the number of different types of tests proctored in a semester. My report is based on a...
3
by: FeveZ | last post by:
I've been stuck on a problem now for ages and i'm about ready to pack my project in because of it lol. OK here is my scenario. I have an existing Crystal Report, which I have added to my...
1
by: MrNobody | last post by:
I'm wondering if it's possible using C# to create graphical menu overlays over whatever the PC is doing whether it be windowed mode or full screen mode. So that means displaying graphics on top...
2
by: Jens Theisen | last post by:
Hello, as it would be so obviously a good thing to have a graphical (or maybe curses-base) browser through the dynamic state of a Python program, it's probably there. Can someone point me to...
8
by: jbonifacejr | last post by:
This is my first day here, so please be patient. I do not know how to search very well so the search I tried to get the answer showed me topics from the year 2000 and they really don't cover what I...
3
by: Vlad Dogaru | last post by:
Hi, A few friends and myself were thinking of writing a graphical engine based on OpenGL. Does Python have the required speed for that task? Are there any examples out there of open-source...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.