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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Count the number of time a word appears in a field

Status
Not open for further replies.

bf2mad

Programmer
Nov 26, 2002
33
GB
Hi,

I have a problem where I need the count the number of times three different words (Resolved, Reassigned, Rejected) appear in a field (Actions) in the results of a query (Desktop Datasheet Query). These three totals will then need to be displayed on a form which is based on the same query.

Can you please help.

Thank you very much
 

Well, you have two ways of doing this. The first is a count(*) query with the same criteria as the data sheet view, or you could run through the recordset and count then yourself (which will take longer and cause more coding on your part).

Good Luck

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top