473,410 Members | 1,937 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,410 software developers and data experts.

Coloured box in report when matching a certain string or character

I would like some of the fields of a coulmn of one of my report to turn into
light red when the field matches a certain string.
Julian
Aug 15 '06 #1
5 1204
Use Conditional Formatting.

In report design view, select the text box that should change color.
Choose Conditional Formatting on the Format menu.
Set upt the condition and colors you want.

--
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.

"Julian" <x@x.xwrote in message news:4k************@individual.net...
>I would like some of the fields of a coulmn of one of my report to turn
into
light red when the field matches a certain string.
Julian

Aug 15 '06 #2
I was trying few expressions, but nothing happens. Do I have to use any
brackets or other special signs to make them work? How can I add more than
three conditions?
Julian
Aug 15 '06 #3
To be more specific I would like to change the field colour when the
following messages are met: Not Responding, Left Voicemail message, Left
Text Message. Can I use wild cards? For example to use the word Left plus
anything that comes after?
Julian
Aug 15 '06 #4
yes, you can use Wildcards.

for all Words containing "foo" you can use a Steing like this:

[Expression is] Forms!frmKeepOpen!txtTest Like "*foo*"
greets Michael

Aug 15 '06 #5
You cannot have more than 3 conditions with conditional formatting.

You can use wildcards if you choose Expression in the first box, and use the
Like operator, e.g.:
[MyField] ... Like "Z*"

--
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.

"Julian" <x@x.xwrote in message news:4k************@individual.net...
>I was trying few expressions, but nothing happens. Do I have to use any
brackets or other special signs to make them work? How can I add more than
three conditions?
Julian

Aug 15 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Lozette | last post by:
Hi all, I'm wondering if anyone else has noticed some odd behavious with IE6.0 colouring input boxes yellow (or any other colour!) unexpectedly? I am using IE6.0.2 on WinXP Pro. I had a bug...
3
by: Day Of The Eagle | last post by:
Jeff_Relf wrote: > ...yet you don't even know what RegEx is. > I'm looking at the source code for mono's Regex implementation right now. You can download that source here ( use the class...
1
by: Galina | last post by:
Hello I generate a pritty complicate report in my application. The report is so complicate in fact that I sort and format records in code, form a long string and assign it to an unbounded field on...
1
by: Nathan Bloomfield | last post by:
Does anyone know if there is any documentation which relates to Access2k + ? or can anyone help adjust the code? I am having trouble converting the DAO references. TITLE :INF: How to...
2
by: Alpha | last post by:
I have a C# program that user would select several search criteria and then outputs to the Crystal Report. A message is output to user if no matching record is found. In my code I also clear,...
1
by: RJN | last post by:
Hi I'm new to VS.Net Crystal Report. I'm using data sets as the source for crystal report. I've a dataset which has 2 data tables. The first table's schema is like this Ptid String Prid...
1
by: Rob Woodworth | last post by:
Hi, I'm having serious problems getting my report to work. I need to generate a timesheet report which will contain info for one employee between certain dates (one week's worth of dates). I...
1
by: Doug | last post by:
What is the simplest way to make a report where only the records where a field matches a certain date are included, and the user first selects that date (from form or popup)? (I can write the SQL...
11
by: tech | last post by:
Hi, I need a function to specify a match pattern including using wildcard characters as below to find chars in a std::string. The match pattern can contain the wildcard characters "*" and "?",...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.