max records returned

  • Thread starter nikos adamopoulos via AccessMonster.com
  • Start date
N

nikos adamopoulos via AccessMonster.com

I am using the TopValue property in order to limit the number of rows/records in my reports and tables.
I set the TopValue in the query property options.
I want to do the same, that is to limit the numbers of records, in a Union Query.
Does anybody have an idea how can this be done in a union query?
 
J

JohnFol

You could use the union as the input for a Select Top query . . . .

ie
Select top 10 * from MyUnionQuery
 
B

Brian

nikos adamopoulos via AccessMonster.com said:
I am using the TopValue property in order to limit the number of
rows/records in my reports and tables.
I set the TopValue in the query property options.
I want to do the same, that is to limit the numbers of records, in a Union Query.
Does anybody have an idea how can this be done in a union query?

Save the union query, and then create another query that does SELECT TOP ??
<some fields> FROM <saved union query>
 

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

Top