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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Highlighting text automatically

Status
Not open for further replies.

amcg

Programmer
Jan 25, 2002
26
IE
Hi.

The database is Access 97. The user runs a query that finds a specific piece of text in a large text field. The field is then displayed in a text box on a form. I want to highlight the specific piece of text within the text box that the user had been searching for, and indeed each occurence of that piece of text. Is this possible?

Any help would be appreciated.
 
You may be able to do this using the rich text ActiveX control rather than your standard text box. The file you want is RichTX32.ocx.
 
Thanks for the pointers. That looks as if it will faclilitate my needs.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top