Re: query design issue
- From: buckpeace <buckpeace@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 11 Sep 2006 13:34:02 -0700
Sorry about the confusion with the word "report". I did mean table. There
is no reason Mary is member #1...I just put it that way. Some of the
doctors will have more columns than others filled in. The max number of
columns will be based on the most members belonging to whichever doctor....If
one doc has 10 members, there will be 10 columns (member1 member2 member3,
etc.)with people in them....in that same tabe, a doc with one member may only
have 1 column filled in (1 member) and 9 blank ones....no rhyme or reason who
goes first....
This table will eventually be exported out into excel or text but I have to
have ever member belonging to a doctor on that docs 1 line in hte
table.....any other ideas and I will be very open to any....This may not can
be done.....
--
Buck
"Duane Hookom" wrote:
I thought you were asking for a report when you stated "What I need to do is.
produce a report".
You didn't provide enough information to create your query as displayed. You
didn't tell us why Mary is Member1 and not Member2 or Member3.
Would you be satisfied with a comma delimited list of members or do you need
them in separate columns?
--
Duane Hookom
MS Access MVP
"buckpeace" <buckpeace@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:CF8777C7-CACF-4434-8464-8312CEDEFB76@xxxxxxxxxxxxxxxx
I appreciate the help. I actually am not sure this will help. I am
doing
this in a table, not a report. I have to export out to excel once it is
completed for another department.
--
Buck
"Duane Hookom" wrote:
Create a main report of just each unique Provider (no members). Then
create
a multi-column subreport that is based on the Provider and Member
records.
Set the subreport to display across then down. Add the subreport to the
detail section of the main report and set the Link Master/Child
properties
to Provider.
--
Duane Hookom
MS Access MVP
"buckpeace" <buckpeace@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:15C64180-1FAA-4EE3-A762-4DB2592368B1@xxxxxxxxxxxxxxxx
Hopefully, someone can help me with the design of the way a table looks
from
a query.
Lets say I have a table that has 10 rows of member and
providerinformation
in it. However, there are ONLY 5 doctors. Some of the doctors have
more
than 1 patient, so they have more lines. IE -
PROVIDER MEMBER
dr. jones mary
dr. jones james
dr. jones sam
dr. adams eddie
dr. jay amy
dr. jay sally
dr. peace jake
dr. steph kenny
What I need to do is produce a report with only 5 total lines (equal to
the
amount of doctors) with colums for each member.....IE
PROVIDER MEMBER1 MEMBER2 MEMBER3
jones mary james sam
adams eddie (blank)
(blank)
jay amy sally
(blank)
peace jake (blank)
(blank)
steph kenny (blank)
(blank)
Can anyone help me write a query for this procedure.....I must have the
columns as each member must stay int he same line as the provider they
use.
I really appreciate it!!!!
--
Buck
- Follow-Ups:
- Re: query design issue
- From: Duane Hookom
- Re: query design issue
- References:
- Re: query design issue
- From: Duane Hookom
- Re: query design issue
- From: buckpeace
- Re: query design issue
- From: Duane Hookom
- Re: query design issue
- Prev by Date: Stacked, Clustered Column Pivot Chart
- Next by Date: Update query
- Previous by thread: Re: query design issue
- Next by thread: Re: query design issue
- Index(es):
Relevant Pages
|
Loading