Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Count One instance of Dulicate Records

Status
Not open for further replies.

agray7501

IS-IT--Management
Joined
Feb 21, 2002
Messages
3
Location
US
I have a table that unfortunately has duplicate values that correspond to an application number. I would like to Count the application number only one time. Any help is greatly appreciated..
Al
 
How about....

Set db = currentdb
Set rs = db.OpenRecordset("SELECT DISTINCT RecNbr FROM Table")
intX = rs.RecordCount


Randy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top