Keeping data distinct

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have created two Forms from the same Query, one of which picks up people’s
names from a related Table and the other of which, correctly does not.
The problem is that when I post the results to the Client ( as an Invoice)
through the common Query the names are automatically being picked up in all
cases. I want to prevent this.
Is there an obvious way forward to keep the data distinct as in the Form?
Your help would be appreciated.
 
If you are using the same query then the query is always going to return all
the data specified. You may have chosen not to display the information on a
form, but the data is still available.

You can suppress the names on the invoice using vba or you can suppress the
names by having two different reports (assumption that by "post", you mean
you are printing a report).

--
John Spencer
Access MVP 2002-2005, 2007
Center for Health Program Development and Management
University of Maryland Baltimore County
..
 
Thanks. You have clarified the Query principle. I will think through the VBA
solution for the rest.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Counting distinct? 2
SELECT DISTINCT query 8
Query structure and distinct 7
Distinct Count 5
Grouping Distinct 3
COUNT and DISTINCT in Access 3
Selecting Distinct Memo Fields 1
DISTINCT Query Question 1

Back
Top