Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
On a list box, I have been asked to change the background colour of the caption if the user has made a selection.
This I am doing via the following...
=if(GetSelectedCount(cus_Rpt10Description) > 0, RGB(255, 255, 179), RGB(230, 230, 230))
with cus_Rpt10Description equal to the respective list box field - this works okay...
The question i have is - I have to change the field name to match the respective list box.
Is there anyway of having standard code which would work based on the list box field name.
This way I could copy one, change the fieal and caption label and move on as opposed to also changing the caption background.
Regards
Paul
I've often wanted something like you are asking for, sort of a "this" reference. But as far as I know it doesn't exist. You will have to change the field name each time.
-Rob