Changing Row Colours in a Report (1 Viewer)

MattBaldry

Self Taught, Learn from the Forums
Local time
Today, 02:39
Joined
Feb 5, 2019
Messages
293
Hello all,

Is there a code where I can specify a customer colour in a table and then use this to colour a row background in a report?

Lets say I add 3 customers, I want to be able to specify the colour for each customer in a table, but this may be able to change if required.

I am sure I have read something like this before, but cannot find it.

~Matt
 

isladogs

MVP / VIP
Local time
Today, 02:39
Joined
Jan 14, 2017
Messages
18,209
You could use a reference table with different colours assigned for each customer. I do something similar with different types of event in calendar forms/reports

Try looking at these two related pages on my website


Alternatively, add a reference field to your table & use a different value for each customer. Then use conditional formatting based on the value of that field
 
Last edited:

Pat Hartman

Super Moderator
Staff member
Local time
Yesterday, 21:39
Joined
Feb 19, 2002
Messages
43,233
You are thinking pretty small if you want to assign a color to each customer. How many customers do you plan to have? There are very few colors that work well as backgrounds and you will run out of them in short order.
 

Users who are viewing this thread

Top Bottom