473,396 Members | 2,011 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,396 software developers and data experts.

my brain hurts!

1
hi,
i am developing a db in access 2000 and i am stuck on what i consider to be a basic requirement.
in the table i have 12 similar text fields called "client contact week n" where n is a number from 1 to 12. the data stored in these fields is limited within the input form to 7 types. for example: letter, telephone, face to face etc.
i need to produce a report that displays the total records for each type of contact for each week - 12 weeks * 7 types of contact = 84 totals.
i have successfully created 84 queries - 1 for each which delivers a numeric total for each type for each week but i am struggling to get all the results onto 1 report. i have tried to create a simple table to store these totals and then base the report on that but to no avail. update queries failed with the message "query needs to be updateable" or something like that but i have full access to all aspects of the db!! an amend query failed i think due to having 84 separate source queries as i was greeted by "query is too complex". i created 12 further queries to group the individual ones hoping that it could handle 12 but still no joy.
this is frustrating me because i think i am doing it right but access cant handle 84 individual queries!!
please help
cheers
Aug 21 '07 #1
2 1229
FishVal
2,653 Expert 2GB
hi,
i am developing a db in access 2000 and i am stuck on what i consider to be a basic requirement.
in the table i have 12 similar text fields called "client contact week n" where n is a number from 1 to 12. the data stored in these fields is limited within the input form to 7 types. for example: letter, telephone, face to face etc.
i need to produce a report that displays the total records for each type of contact for each week - 12 weeks * 7 types of contact = 84 totals.
i have successfully created 84 queries - 1 for each which delivers a numeric total for each type for each week but i am struggling to get all the results onto 1 report. i have tried to create a simple table to store these totals and then base the report on that but to no avail. update queries failed with the message "query needs to be updateable" or something like that but i have full access to all aspects of the db!! an amend query failed i think due to having 84 separate source queries as i was greeted by "query is too complex". i created 12 further queries to group the individual ones hoping that it could handle 12 but still no joy.
this is frustrating me because i think i am doing it right but access cant handle 84 individual queries!!
please help
cheers
84 queries ??!!!

You definitely should take a look at this
Database Normalisation and Table structures
Aug 21 '07 #2
hi, i am posting an mdb file. i have created a master detail relationship, with client and client contact table, and a query - query1, which gives u all data with a single simple join. i have used only 4 contact types, but u can extend easily.

I agree with fishval. take a look at the normalization doc.

let me know if that solved ur problem

thx
nanda
Attached Files
File Type: zip db1.zip (16.7 KB, 71 views)
Aug 21 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: brendan | last post by:
here's a brain teaser for someone with more skills or at least more lateral thinking capability than me - done my nut over this one... have written a list manager in PHP which a) posts out new...
2
by: johnchampion | last post by:
hi, my brain is mush right now but i'm trying to remember how to create a php script that opens a text file, appends text to it, then closes it. i just cannot remember this simple task to save...
7
by: robert | last post by:
running 8.1.7 server, 8.1.6 client. i *thought* inner join should not return nulls, but not only that, but i get way more rows than i'm expecting. assume: order table: order_number
7
by: One Handed Man \( OHM - Terry Burns \) | last post by:
I've been battling with this stupid problem for hours now. WebApp: Trying to do a simple transformation using XSLT to a Web Page, but it just failes without an error message ( In other words,...
3
by: RC | last post by:
Dear Dudes, I post this in multiple groups for opening brain storm. Sometime I need to query the data from database server then display them into user's browser in HTML <table>. But if the...
15
by: Chung Leong | last post by:
Here's a little brain teaser distilled from a bug that took me a rather long time to figure out. The two functions in the example below behave differently. The difference is easy to spot, of...
7
by: Mark A | last post by:
If server 01 running HADR in the primary role crashes, and the DBA does a HADR takeover by force on the 02 server to switch roles, then the 02 server is now the primary. What happens when the...
3
by: Joachim Klassen | last post by:
Hi all, if I accidentally use a TAKEOVER command with BY FORCE clause while primary and standby are in peer state I'll end up with two primary's (at least with FP10 and Windows). Is this works ...
2
by: oorga.power | last post by:
Our 90 % percent work based on our mind. all the successful person of this world won from mind. C Langugae is great language, it needs logics. Logics can only give your logical part of brain,...
0
by: DotComTr | last post by:
Hi, I want to write an Bot which could play games in a site automatically. the site is www.facebook.com. Who Has Big Brain game. I would like to write a VB Bot which will play game of Who has big...
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...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.