Re: Finding Number of RecordsAffected in a Select Query
From: John Nurick (j.mapSoN.nurick_at_dial.pipex.com)
Date: 04/23/04
- Next message: Elwin: "Global Constants"
- Previous message: anonymous_at_discussions.microsoft.com: "Kill Statement"
- In reply to: OceansideDJ: "Finding Number of RecordsAffected in a Select Query"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 23 Apr 2004 21:22:53 +0100
Hi Mike,
For the number of records that will be selected by a select query, you
can use
DCount("*", "QueryName")
Substitute the name of the table for a count of the number of records in
the table.
On 23 Apr 2004 18:03:29 GMT, oceansidedj@aol.com (OceansideDJ) wrote:
>I am using db.execute... then db.recordsaffected, but Access is telling me it
>does not work in a Select query. How can I find the number of records
>selected in a select query? In a table?
>
>I want to show to the user "n of m records updated."
>
>Thanks,
>
>Mike
-- John Nurick [Microsoft Access MVP] Please respond in the newgroup and not by email.
- Next message: Elwin: "Global Constants"
- Previous message: anonymous_at_discussions.microsoft.com: "Kill Statement"
- In reply to: OceansideDJ: "Finding Number of RecordsAffected in a Select Query"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|