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
--
There's ALWAYS more than one way to skin a cat!
Answers/posts based on Access 2000
Message posted via AccessMonster.com