DataBase - Multiple Queries for Access Report

Asked By tonyrulesyal
31-May-08 10:16 PM
I am using Microsoft Access XP.

I have three queries that I would like an Access Report to pull data
from.

I have been getting difficulty putting these together.

They all tie back to a "file number", which is unique.

I would the like the report to breakdown by each company number.

These queries are already done:
1) then have a line from my crosstab pivot query which breaks down the
count of new file numbers by month for that
company number.

2) the average balance for each company number, also broken down by
month in a crosstab pivot query.

3) the total number of active file numbers broken down by month in a
crosstab pivot query.

I would like the columns all lined up.

I would like the results to be exported to Excel when completed.
Office
(1)
Excel
(1)
XP
(1)
EnrollmentID
(1)
PersonID
(1)
ClassID
(1)
Report
(1)
EnrollmentDate
(1)
  Jeff Boyce replied...
31-May-08 05:32 PM
It all starts with the data...


More info, please...

--
Regards

Jeff Boyce
www.InformationFutures.net

Microsoft Office/Access MVP
http://mvp.support.microsoft.com/

Microsoft IT Academy Program Mentor
http://microsoftitacademy.com/
  tonyrulesyal replied...
02-Jun-08 03:45 AM
Jeff:

My data looks like this:
Each company has a company code (ex. 1, 2, 3, 4, 5, etc.)
Each company has a company name.

Each company has unique customer accounts.
Each unique customer account has a balance.
Each new customer account is recorded for a specific date.
We want to show the number of new accounts for each month.

My queries are cross tab pivot table queries, that break down the data
by month.

I would like the output to look like this (totals at the top, by
month):
I would like the inactive accounts to be new accounts minus active
accounts.

I do not want the month names to show up multiple times, but I want
the data to line up for each month.


1.  Acme Company
Jan    Feb   Mar  Apr
May June Jul Aug (etc.)
5 New accounts for this year.          1     2        1     1
$200 Average balance for each     100  300   100  300
2 Active Accounts                          1      1
3 Inactive Accounts                                1      1      1

2.  Generic Company
3 New accounts for this year.          1               1     1
$20 Average balance for each        10   30      10    30
0 Active Accounts
3 Inactive accounts                         1               1     1
  Jeff Boyce replied...
01-Jun-08 10:46 PM
Thanks the clarification.

I'm still a bit unclear, and how-to depends on how the data is structured,
so...

Here's an example of the kind of description I was looking for:

tblPerson
PersonID
FirstName
LastName
DOB
... (other person-specific data)

tblClass
ClassID
ClassTitle
ClassDescription
... (other class-specific data)

trelEnrollment
EnrollmentID
PersonID
ClassID
EnrollmentDate
... (other enrollment-specific data)

More info, please...

--
Regards

Jeff Boyce
www.InformationFutures.net

Microsoft Office/Access MVP
http://mvp.support.microsoft.com/

Microsoft IT Academy Program Mentor
http://microsoftitacademy.com/
Create New Account
help
anybody generalize the big issues? - - PeteCresswell Access Discussions SQL Server (1) Virtual PC (1) Windows XP (1) Visual Studio 2010 (1) SharePoint (1) Access 2010 (1) Office 2010 (1) Access 2007 (1) One starting point would be to browse Access team's time to cough up the bucks and renew my MSDN subscription. 2010 will run under XP, right? - - PeteCresswell Since I do not know where else to say this, I think anybody in figuring it all out: Compatibility Between the 32-bit and 64-bit Versions of Office 2010 http: / / msdn.microsoft.com / en-us / library / ee691831(office.14).aspx GPG on Access: A work in Progress and 64 Bit VBA http: / / tinyurl http: / / gpgonaccess.blogspot.com / 2010 / 03 / work-in-progress-and-64-bit-v ba.html Office 2010 - about the 64-bit version - Office Watch http: / / news.office-watch.com / t / n.aspx?a = 1403 Installing Office 2010 64-bit - Office Watch http
Access 2010 32-bit runtime installation error with 64-bit office DataBase Hi, How do I resolve this??!! We have a client trying to install our bit and she is receiving this error: 'You cannot install the 32-bit version of Office 2010 because you have 64-bit Office products installed. These 64-bit products are not supported with 32-bit installations: Microsoft Office Publisher 2010; Microsoft Office Single Image 2010. If you want to install 32-bit Office 2010, you must uninstall all 64-bit Office products first, and then run setup.exe in the x86 folder. If you want to install 64-bit Office 2010, close this Setup program, and then either go to the x64 folder at the
Office 365 DataBase I was getting a lot of ads regarding Office 365 on YouTube. Does anybody have any comment on Office 365? Anybody using it? Does one run the Office programs off site, not locally? I think Sharepoint is included. Any comment on the plans 0 (1) SharePoint (1) Albert D. Kallal (1) Silverlight (1) Access 2010 (1) Outlook (1) Office (1) Excel (1) Yes, in a word: It is incredible deal and service for the money. The up of course is the ability to up-size back end your data tables to office 365 and then link your front end to those tables. This incredible feature even works them support. You also of course get the Web enabled version of Outlook, word and Excel. And you can share your outlook calendars. In effect you quite much get the same
i purchase an economical access 2003 to add to my pc? - - Thank you! Access Discussions Office XP (1) Microsoft Excel (1) SharePoint (1) Office 2010 (1) Access 2007 (1) Access 2003 (1) Office 2003 (1) Office 2007 (1) it is probably cheaper to upgrade your copy of Office 2003 to Office 2007 Professional. Search Microsoft's web site for Office 2007 and upgrade paths. Tom Wickerath
A97 unter Windows 7 an's Laufen zu kriegen. Mit Admin Rechten und Kompatibilit?t XP SP2, wie angeboten, installiert. Das SP 2 l?uft aber nicht durch. Habe von Hand in der Version 3.51.3328, bereits in das Windows Verzeichnis system32 kopiert. Hatte bei XP geholfen. Die Errorlog sagt folgendes: schnip- -- -- -- -- -- -- -- -- -- -- Off97SR2 patch file name: C: \ Users \ peter \ AppData \ Local \ Temp \ IXP002.TMP \ sr2patch.exe Version: 1:0:0:51 Run Mode: non quiet Office 97 install type: Local user install Home Dir: C: \ Users \ peter \ AppData \ Local \ Temp \ IXP002 TMP Shared Dir: C: \ Program Files \ Common Files \ Microsoft Shared System Dir: C: \ Windows \ system32 Office Bin Dir: C: \ Program Files \ Microsoft Office \ Office Located Access at C: \ Program Files \ Microsoft Office \ Office Located Excel at C: \ Program Files \ Microsoft Office \ Office Word97 bucket will not be processed