Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

selecting entry containing text, Select Expert, formula

Status
Not open for further replies.

seryk

Technical User
Dec 10, 2004
2
US
How do i use the select expert (use of formula) to select entries of text containing specific words, such as a full text search in, say, Acrobat? I tried playing around with the "like" option, but it wasn't really working for me, and I get the feeling I'm missing something! One can use the find feature to find a specific word of phrase, however, I want to be able to do this within the select expert.. if anyone has a formula they would like to share... ;) Thanks!!
 
Instr() is the key here. Instr(String,Substring) will return the starting position as an integer of where the substring is found, or a zero if the substring is not found.

Instr({MyStringField},"XY")>0 will evaluate to true when the substring "XY" is found and will only return those records.

Software Sales, Training, Implementation and Support for Exact Macola, eSynergy, and Crystal Reports
askdon@srhconsulting.com
 
Thank you, thank you, thank you!!!!! ... now I can finally finish this report that is due today! woohoo!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top