Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Advanced Reporting Design
Message
From
25/10/2001 14:57:17
 
 
To
25/10/2001 14:02:28
Jason Dalio
Northern Interior Regional Health Board
Prince George, British Columbia, Canada
General information
Forum:
Microsoft Office
Category:
Access
Miscellaneous
Thread ID:
00572958
Message ID:
00573330
Views:
25
This message has been marked as the solution to the initial question of the thread.
>No, because if there are only 3 records in the returned recordset a SELECT TOP 7 will still only return you 3 records. A good try though; I hadn't thought about using TOP.

Well, I was thinking about the UNION query I suggested in my initial post. So the query would look something like this:
SELECT * FROM MyTable
UNION ALL 
SELECT TOP 10 * From MyCopy;
The trick is to obtain the number of rows returned by the first query, probably doable with Select Count(*) with the same WHERE condition.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform