Limiting the "many" side query results

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

Guest

This should be a simple question I think. When you query tables where a
one-to-many relationship exists, (how) can you prevent the "one" side records
from displaying over and over for each of the "many" side records?

Basically, the query looks just a flat file in Excel with the same
information repeated. Is there a way to clean up the query to eliminate this,
or am I forced to use a form or report?
 
The query is designed to give flat-file type results from relational data.

How are you expecting it to work? Do you expect blanks under the repeating
values from the primary table, as if the values were Null? What if they are
not sorted in that order?
 
While I haven't seen it, I bet that there is a very convoluted way to make it
happen in a query; however, it's probably not worth the effort.

Now reports are a different matter. Make a tabular report out of the query.
While in design view right click on the field with repeating data. Select
Properties and go to the Format tab. Change Hide Duplicates to Yes.
 

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

Back
Top