Is this possible? I would like to make all records red in a listbox based on whether a yes/no field is "no." If you know a way, please share!
Maybe change list box's label fore color for user warning?
Example:
If list box's third column contains boolean type data i.e yes/no then:
private sub lstListBox_AfterUpdate()
if Me.lstListBox.column(2)="Yes" then
Me.lblListBoxLabelName.ForeColor = 0
else
Me.lblListBoxLabelName.ForeColor = 255
end if
end sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.