A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Pulling a report with multiple last names



 
 
Thread Tools Display Modes
  #1  
Old February 18th, 2009, 03:51 PM posted to microsoft.public.access.gettingstarted
crenster
external usenet poster
 
Posts: 1
Default Pulling a report with multiple last names

When I pull a report with multiple last names in access database base off of
my queries it will not differentiate, will only pull one of those same last
names and duplicate report for everyone with the same data of the first like
name.
How can i get the report to recognize the first names of people with the
same last name.
  #2  
Old February 18th, 2009, 03:54 PM posted to microsoft.public.access.gettingstarted
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default Pulling a report with multiple last names

"How" depends on "what"...

Unless we have some idea of what data you are storing, in which tables, we
can only guess "how" you'd need to query the data.

Regards

Jeff Boyce
Microsoft Office/Access MVP

"crenster" wrote in message
...
When I pull a report with multiple last names in access database base off
of
my queries it will not differentiate, will only pull one of those same
last
names and duplicate report for everyone with the same data of the first
like
name.
How can i get the report to recognize the first names of people with the
same last name.



  #3  
Old February 19th, 2009, 05:28 PM posted to microsoft.public.access.gettingstarted
[email protected]
external usenet poster
 
Posts: 129
Default Pulling a report with multiple last names

In the sorting and grouping dialogue in report design view group the
report firstly by last name, then by first name. Give the first name
group a group header and put the names in that. You might also want
to give the first name group a group footer if you need to aggregate
any data per person.

But you should also cater for the possibility of two or more people
having exactly the same first and last names (I once worked with two
such people) by giving each person a unique number, e.g. EmployeeID,
CustomerID or whatever, which can be an autonumber column in the
table, so you can add one if you don't have it already. In the report
you can then add a third group level on EmployeeID, and give that a
group header and footer rather than the first name group. Individuals
of the same names will then be differentiated.

Similarly when grouping a query do so on the unique EmployeeID (or
whatever) column, not just on the names.

Ken Sheridan
Stafford, England

On Feb 18, 3:51 pm, crenster
wrote:
When I pull a report with multiple last names in access database base off of
my queries it will not differentiate, will only pull one of those same last
names and duplicate report for everyone with the same data of the first like
name.
How can i get the report to recognize the first names of people with the
same last name.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:24 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.