Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

Change label based of field values in cont form

$
0
0
Hi all

I want to change the backcolor of a label on a continuous subform based on the values in one of the fields. There are a lot of records most of them you can not see unless you scroll down so I want the user to be able to see that there are records there by the color of the label. I have tried using the on current event of the subform with the following code and it does not work as you would exspect.


Code

If me.sold > 0 then
me.lblSold = 4227327
Else me.lblSold = 12632256
End If

Would appreciate any help

Thanks Bob

Viewing all articles
Browse latest Browse all 13329

Trending Articles