View Single Post
  #2  
Old March 10th, 2005, 12:22 PM
Nikos Yannacopoulos
external usenet poster
 
Posts: n/a
Default

Nick,

You don't need a query to do that, all you need is a DLookup function like:

DCount("*","MyTable", "[Field1] Like '*SearchString*'")

which will return the number of records in table MyTable where the test
"SearchString" is contained in field Field1.

HTH,
Nikos

wrote:
To whom it may concern

Can you tell me how I can create an access query which
will look in a column and produce a count of how
frequently a piece of text or a number occurs within a
column of a Access table.

Thanks

Nick