I have a field name Body in the document and i want to search for a keyword in the Body field.Is there any way to search for only a single column in the document.
thanks
I have a field name Body in the document and i want to search for a keyword in the Body field.Is there any way to search for only a single column in the document.
thanks
Subject: How to search column values
I think you can use db.Search or View.searchand give SearchFormula similar to:
strKeyWord =
searchFormula$ = “Form = ‘frmProfile’”
searchFormula$ = searchFormula$+“&”+{@Contains(Body;‘}+strKeyWord+{’);}
This will give you a collection of such documents for which the Body field contains the specified string.
Hope this helps.