change the color of the lines of the list box forms (1 Viewer)

hys408

New member
Local time
Today, 09:43
Joined
Apr 1, 2023
Messages
1
The piece of code of the program to change the color of the lines of the list box forms with a special condition in Microsoft Access
 

theDBguy

I’m here to help
Staff member
Local time
Today, 01:43
Joined
Oct 29, 2018
Messages
21,473
Hi. Welcome back to AWF!

Was that a question? Or, were you trying to share something you created?

What happened to your old account?
 
Local time
Today, 10:43
Joined
Feb 27, 2023
Messages
43
Hi hys408,

a salutation is always a good start and a sentence should usually contain a verb ;)

ListBoxes can't have a conditional format, but you can use a subform instead (includes filters and sorting too).

You can access the conditional formats of a control by looping its .FormatConditions collection.
 

MajP

You've got your good things, and you've got mine.
Local time
Today, 04:43
Joined
May 21, 2018
Messages
8,529
 

Users who are viewing this thread

Top Bottom