A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Highlighting a word when it shows up on a report



 
 
Thread Tools Display Modes
  #1  
Old June 2nd, 2010, 06:43 PM posted to microsoft.public.access.reports
Michael O needs you
external usenet poster
 
Posts: 1
Default Highlighting a word when it shows up on a report

Hello experts. This may be wishful thinking, but can access do the following:

Potential scenario...
lets say I have a table with 5 fields and the data in each field is at least
an entire sentence (excluding a PK). I run a report that displays each of
the 5 fields and the data in each. The record source of this report is a
select query that finds all the records Where [FieldName] LIKE "*Some Word*".
For example, say the word is "ship". This report will find all the records
where "ship" appears in any of those fields.

My question is...is there a way in Access to have "ship" highlighted
wherever it shows up on the report? For example, there are many databases
out there that highlight your search term in the web page or document that
shows up in the results.

Thanks.

Michael O
Ads
  #2  
Old June 3rd, 2010, 04:13 AM posted to microsoft.public.access.reports
Allen Browne
external usenet poster
 
Posts: 11,706
Default Highlighting a word when it shows up on a report

Access 2007 and 2010 have a text box that supports rich text, so it is
possible in these versions.

Details:
Highlight matches
at:
http://allenbrowne.com/AppSearchHighlight.html

Includes a downloadable example (free.)

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.


"Michael O needs you" Michael O needs wrote
in message ...
Hello experts. This may be wishful thinking, but can access do the
following:

Potential scenario...
lets say I have a table with 5 fields and the data in each field is at
least
an entire sentence (excluding a PK). I run a report that displays each of
the 5 fields and the data in each. The record source of this report is a
select query that finds all the records Where [FieldName] LIKE "*Some
Word*".
For example, say the word is "ship". This report will find all the
records
where "ship" appears in any of those fields.

My question is...is there a way in Access to have "ship" highlighted
wherever it shows up on the report? For example, there are many databases
out there that highlight your search term in the web page or document that
shows up in the results.

Thanks.

Michael O


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:07 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright 2004-2018 OfficeFrustration.
The comments are property of their posters.