Newman
Québécois
- Local time
- Today, 13:26
- Joined
- Aug 26, 2002
- Messages
- 766
I have a field in my report that should tell me how many times you can see a particular string in a table.
Note that it could be:
At the begining: MYSTRINGabcdef
In the middle: abcMYSTRINGdef
At the end: abcdefMYSTRING
I tried this:
DCount("[MyField]", "MyTable", "InStr([MyString],[MyField])>0")
But it doesn't work.
I tried many others, but it never worked either. That one, I believe to be the closest to the real thing).
Thank you for your help!
Note that it could be:
At the begining: MYSTRINGabcdef
In the middle: abcMYSTRINGdef
At the end: abcdefMYSTRING
I tried this:
DCount("[MyField]", "MyTable", "InStr([MyString],[MyField])>0")
But it doesn't work.
I tried many others, but it never worked either. That one, I believe to be the closest to the real thing).
Thank you for your help!