Re: Reporting from Queries
From: Duane Hookom (duanehookom_at_NO_SPAMhotmail.com)
Date: 02/19/04
- Next message: Allen Browne: "Re: Help with logo image on report"
- Previous message: prabha: "RE: MS Access 2003"
- In reply to: Rachel: "Reporting from Queries"
- Next in thread: Rachel: "Re: Reporting from Queries"
- Reply: Rachel: "Re: Reporting from Queries"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 18 Feb 2004 19:53:25 -0600
It would really help if you typed or pasted some sample data with actual
field and table names into your message. I can only guess that you should
attempt to normalize the imported records with a union query:
SELECT Person, Mod1, "Mod1" as Question
FROM tblSurvey
WHERE Mod1 is not Null
UNION
SELECT Person, Mod2, "Mod2"
FROM tblSurvey
WHERE Mod2 is not Null
UNION
SELECT Person, Mod3, "Mod3"
FROM tblSurvey
WHERE Mod3 is not Null
UNION
...etc...
This union query should allow you to create your report.
-- Duane Hookom MS Access MVP "Rachel" <scrmptus@aol.com> wrote in message news:128b201c3f680$b3d0fad0$a001280a@phx.gbl... > I imported data from an Excel file into Access. This is a > survey database where different people will receive > different modules. There are a total of 16 modules. > Example > > Person 1: Modules 1, 2, 3, 5-7, 14 > Person 2: Moduless 2 and 3 > Person 3: Module 1 - 9 > Person 4: Modules 5 > etc... > > The data is compiled with all of the modules in one file. > The column headers are the questions. Because each person > may not receive all modules there are balnk field where > the person did not give a response. > > I would like to pull a report by person that contains each > module the person received with their responses and leaves > out any modules that did not have responses. > > I tried doing this through a query but when I tried to > pull the report from the different queries Acess did not > allow me to. Any ideas? > Thanks, > Rachel
- Next message: Allen Browne: "Re: Help with logo image on report"
- Previous message: prabha: "RE: MS Access 2003"
- In reply to: Rachel: "Reporting from Queries"
- Next in thread: Rachel: "Re: Reporting from Queries"
- Reply: Rachel: "Re: Reporting from Queries"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|