Where:
MField is the name of your memo filed
SField is the search string
SFieldCount is the number of occurances of the search string
SFieldCount = (Len([MField]) - Len(Replace([MField], SField, ""))) / Len
(SField)
You're replacing the search string with a zero length string, comaparing the
length of the memo field before and after the replacement(s) then dividing
the difference by the length of the search string

Signature
There's ALWAYS more than one way to skin a cat!
Answers/posts based on Access 2000
ralph - 03 May 2007 06:38 GMT
dddddddddddddddddddddddddddddd
> Where:
>
[quoted text clipped - 9 lines]
> length of the memo field before and after the replacement(s) then dividing
> the difference by the length of the search string
ralph - 03 May 2007 06:47 GMT
kan ik niks aan doen
> Where:
>
[quoted text clipped - 9 lines]
> length of the memo field before and after the replacement(s) then dividing
> the difference by the length of the search string
Try using dcount with a wild card (Like + *)
DCount("*","[TableName]","[FieldName] Like '*Invoice Chased*'")

Signature
Good Luck
BS"D
> Hi is it possible to count the number of times the words "Invoice Chased"
> has been entered in a memo field? If it is how do I go about it?
>
> Thanks Bob
dbl - 02 May 2007 15:05 GMT
Sorted thanks, for the help and quick response.
Bob
> Try using dcount with a wild card (Like + *)
>
[quoted text clipped - 4 lines]
>>
>> Thanks Bob
missinglinq - 06 May 2007 15:39 GMT
Just out of curiosity, were you trying to count the times this phrase
appeared in the memo field of one record, or of all records in the table?

Signature
There's ALWAYS more than one way to skin a cat!
Answers/posts based on Access 2000