Solved

Graphing :  Which is best Access or Excel

Posted on 2013-01-27
5
400 Views
Last Modified: 2013-01-27
Hi,

Hi I will be developing a fairly simple (smallish) Access database.

IN order to impress (!) my client I will be including a lot of graphs.

I find Access graphing a bit awkward (perhaps it's me?).
I find Excel graphing friendlier and easier.

So, I think I may develop in Access and use msquery in Excel to display the data in graph format etc.

Is Excel better at graphing?
Is the above approach sensible?
0
Comment
Question by:Patrick O'Dea
  • 2
  • 2
5 Comments
 
LVL 47

Accepted Solution

by:
Dale Fye (Access MVP) earned 350 total points
ID: 38824590
I personally find Access graphs to be clunky, but I have not had much need to play with them much since I moved to 2007, so I don't know whether the 2007/10/13 graph capabilities have improved much.

When I was doing a lot of graphs, I generally tended to use your Excel with msquery technique, or used Excel automation to push recordsets to Excel, and then change the Excel graph properties from within Access.  

The up side of the latter technique was that I didn't have a lot of links that had to be refreshed; the down side was that the user of the Excel workbook was not able to update whenever they wanted, without running the Access application.
0
 
LVL 119

Assisted Solution

by:Rey Obrero
Rey Obrero earned 150 total points
ID: 38824591
yes, i do the same.
it is a lot easier to format the graphs in excel.
0
 

Author Comment

by:Patrick O'Dea
ID: 38824728
Experts, thanks for your views.

Fyed, could you expand very briefly on your comments if possible. How do i do this ... Just give me a pointer and i can figure it out. See below

"or used Excel automation to push recordsets to Excel, and then change the Excel graph properties from within Access."
0
 
LVL 47

Expert Comment

by:Dale Fye (Access MVP)
ID: 38824875
It has been quite a while since I have done this.

Pushing the data to Excel via automation is done by declaring Excel objects in your code, using either the CreateObject or GetObject method to open a current instance of Excel, or open a new one.

The Excel Worksheet method CopyFromRecordset is used to paste an Access recordset into Excel, using syntax similar to:

sht.Range("A2").CopyFromRecordset rs

I cannot find any code examples at the moment for manipulating the Excel chart object from code, but the easiest way to do that is to record a macro, then play around with the chart, then stop recording and view the code associated with the macro.  It is not always the most efficient, but you can generally post here at EE in the Access and Excel topic areas to get good answers on the specifics.  Actually, I would not be at all surprised if you searched EE on 'Excel Chart VBA' or something like that you would get quite a few hits.
0
 

Author Closing Comment

by:Patrick O'Dea
ID: 38824915
Thanks folks,<br /><br />great as ever!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now