I have two databases linked, one keeps basic client information (name,
DOB, address, etc.), the other keeps track of client's visit date and
purchases. I want to display a list of clients that made purchases
within a given date range, regardless of number of purchases made.
With the simple query view, somehow I end up displaying one row for
each client's purchase(s), i.e. if the client made 10 purchases in the
date range, then I see 10 entries displayed for such, when I only want
to see that client's name shown once. Is there a quick way to avoid
displaying the duplication?
|
|
0
|
|
|
|
Reply
|
namsilat
|
1/18/2008 2:50:38 AM |
|
If you are looking for the latest record use a "Totals" query (the Sigma
button) and change Group By to Max in the date field.
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com
"namsilat" <talismana@hotmail.com> wrote in message
news:5o40p3lo0cjl8777intau9pn5tn8s7t1hv@4ax.com...
>I have two databases linked, one keeps basic client information (name,
> DOB, address, etc.), the other keeps track of client's visit date and
> purchases. I want to display a list of clients that made purchases
> within a given date range, regardless of number of purchases made.
>
> With the simple query view, somehow I end up displaying one row for
> each client's purchase(s), i.e. if the client made 10 purchases in the
> date range, then I see 10 entries displayed for such, when I only want
> to see that client's name shown once. Is there a quick way to avoid
> displaying the duplication?
>
|
|
0
|
|
|
|
Reply
|
Arvin
|
1/18/2008 4:22:16 AM
|
|
Don't display the date field or any other non-unique information from the
purchases table
- uncheck show field in the query grid
- enter your date criteria
Set the Unique Values property of the query to Yes
To do this:
--Right Click on the top section of the query (not on a table)
--Select View Properties from the menu
--
John Spencer
Access MVP 2002-2005, 2007-2008
Center for Health Program Development and Management
University of Maryland Baltimore County
..
"namsilat" <talismana@hotmail.com> wrote in message
news:5o40p3lo0cjl8777intau9pn5tn8s7t1hv@4ax.com...
>I have two databases linked, one keeps basic client information (name,
> DOB, address, etc.), the other keeps track of client's visit date and
> purchases. I want to display a list of clients that made purchases
> within a given date range, regardless of number of purchases made.
>
> With the simple query view, somehow I end up displaying one row for
> each client's purchase(s), i.e. if the client made 10 purchases in the
> date range, then I see 10 entries displayed for such, when I only want
> to see that client's name shown once. Is there a quick way to avoid
> displaying the duplication?
>
|
|
0
|
|
|
|
Reply
|
John
|
1/18/2008 1:07:26 PM
|
|
|
2 Replies
407 Views
(page loaded in 0.072 seconds)
Similiar Articles: Show only unique records in duplicated field - microsoft.public ...A primary key field will only accept unique values and ... of field values from being duplicated, create a multiple-field ... To display unique records from the Orders ... Display a count of unique records in a query in Access 2007 ...Querying only x number of records - microsoft.public.access ... Display a count of unique records in a query in Access 2007 ... I want to count only the unique student ... Unique Values, not Unique Records - microsoft.public.excel.misc ...Show only unique records in duplicated field - microsoft.public ... Prevent showing duplicate records in a query - Microsoft Access / VBA Unique Values returns unique ... delete all dulplicate rows leaving no record of the duplicates ...... my duplicated fields have spaces at the end of them so they are not showing ... Deleting a row in ... box "Unique records only," and click OK. The duplicates disappear ... Filter by form search field showing non-distinct values in pull do ...... other search fields are still fine - showing only ... you have several ways to filter for unique ... view or report - Access ..... article shows you how to filter records ... Display records one time only - microsoft.public.access.queries ...Set the Unique Values property to Yes. Note that this answer is 'guessing ... PHP :: Display Only One Record Display Only One Record Code: <?php // Query the Database ... Count Unique Values in a Totals Query - microsoft.public.access ...Display a count of unique records in a query in Access 2007 ... Count Unique Values in a ... Show only unique records in duplicated field - microsoft.public ... Count ... Find number of times certain words show up in a column - microsoft ...I need to end up with a count of how many times each PN shows up. The result ... times certain words show up in a column - microsoft ..... sheet > Check 'Unique records only ... In Access, How do I hide records, but include them in the total ...Show only unique records in duplicated field ... How Do I Hide Access; Hide Records; Hide A Combo Box ... for our bills that include the date ... only want to display 2 ... Show only once - microsoft.public.access.queries... customerid FROM thetable Or, in the query designer, set Unique Records to ... can have them choose in the dropdown seeing both fields, but only the employee name shows up ... BET: Microsoft Excel Lists - Advanced Filter - Unique RecordsYou can also use the Advanced Filter to filter a table of data and only display unique records. This feature is extremely useful but you need to be aware of the ... MS Access: Only show unique values in a query in Access 2003/XP ...In Access 2003/XP/2000/97, I've created a query and I only want to display the unique values. Creating a Unique Values Query | Working with Multiple-Table ...In the Query Properties window, click Yes in the Unique Values list and then close the window. When you run the query, Access will display only unique records in the ... How to remove duplicate records or create list of unique records ...Click to select the Unique records only check box. In the List range box, type or select the range of records (such as A3:H10). In the Criteria range box, type or ... Ms Access-Display unique records - Dev ShedMs Access-Display unique records- MS SQL Development. Visit Dev Shed to discuss Ms Access ... There is no such thing as a "manual" join; A join is only possible in a query. 7/16/2012 11:03:58 AM
|