Conditional Formatting Rows 'highlighting' (1 Viewer)

Hek

Registered User.
Local time
Yesterday, 16:00
Joined
Oct 30, 2018
Messages
73
Hi all,

I've tried to use conditional formatting as a way to make the selected row easier to see as a form of highlighting, but the closest i can get is having all of the rows be formatted. what I'm trying to achieve is when a row is selected, it formats the background.

How I've gone about this so far is I've made all the fields in the row transparent and then put a text box behind them, then i made a current ID field in the footer which is equal/displays the same value as the primary key autonumber value, and then set a conditional format on the text box with the expression;
"[Primary Key] = [Current ID]"
what i get is all the rows being affected.

Any help on how i could get it to just format one row at a time?

Regards- Hek
 

MajP

You've got your good things, and you've got mine.
Local time
Yesterday, 19:00
Joined
May 21, 2018
Messages
8,527
It sounds correct except are you telling me the PK is really called [Primary Key]? You Serious?
And if I understand correctly [current ID] is the name of the textbox and on the forms on current event you set me.[current id] = me.[Primary Key]

Stop using spaces. You are killing yourself. Use better names.
 

isladogs

MVP / VIP
Local time
Today, 00:00
Joined
Jan 14, 2017
Messages
18,216
Yes you can highlight just one row in a continuous form using the sort of approach you were describing
For example, see this emulated split form .
It will work for any continuous form - not just for split forms
 

Users who are viewing this thread

Top Bottom