Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 2 / September 2007

Tip: Looking for answers? Try searching our database.

output

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Janis - 15 Sep 2007 17:46 GMT
tblRouter:routerName
tblUtilization:routerName, weekending date, utilization%

What I want to do is output to Excel the  fields:  routerName & the last 6
weeks utilization figures in columns.

Do I create a form with a calculation field that can figure out what the
last 6 weeks are from all the dates in the tblUtilization somehow.  How would
I do that? and add the field for the router Name to this form.  The dates may
not be exactly 7 days apart.  I just have to output it as a table to Excel so
I need to get it formatted as one table with rows and columns, ie.
RouterName, 9/1, 9/7
                         Router ubra...  80%, 81%
                          Router ubrb...  75%, 76%  etc.
         

Or would I do this as a query to both tables.   How do I do the query?

tia,

The
Tom Wickerath - 17 Sep 2007 07:46 GMT
Please see my reply to a similar question that you posted:

http://www.microsoft.com/office/community/en-us/default.mspx?dg=microsoft.public
.access&mid=89165c68-20b7-475b-9652-ea19073e3dd8


You can add criteria to limit the results to the last six weeks, although
you hadn't mentioned this in the later post, so I didn't cover that. If you
use a parameter type query, make sure to supply the parameters to the
crosstab query. My Crosstab Query document that I pointed you to includes an
example of doing this.

Tom Wickerath
Microsoft Access MVP
https://mvp.support.microsoft.com/profile/Tom
http://www.access.qbuilt.com/html/expert_contributors.html
__________________________________________

> tblRouter:routerName
> tblUtilization:routerName, weekending date, utilization%
[quoted text clipped - 17 lines]
>
> The
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.