Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Advanced Reporting Design
Message
De
25/10/2001 14:57:17
 
 
À
25/10/2001 14:02:28
Jason Dalio
Northern Interior Regional Health Board
Prince George, Colombie Britannique, Canada
Information générale
Forum:
Microsoft Office
Catégorie:
Access
Divers
Thread ID:
00572958
Message ID:
00573330
Vues:
24
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform