|
Question : Forms: Conditional Formatting (when field Is Not Null) on Tab Stop
|
|
Is there a way to put an IIF statement in conditional formatting that would essentially say...
If field IS Not Null, then Control.TabStop = False on a form?
Thanks! Matt
|
|
Answer : Forms: Conditional Formatting (when field Is Not Null) on Tab Stop
|
|
Are you setting the color through conditional formatting where the color numbers are not apparent? There are only a few Greyish options there. There is probably a better way of doing this, but you could try setting the backgound color of a "test" textbox to match, and reading the number from the BackColor (not BackgroundColor like I'd posted earlier) property of the control. The Greyish colors I came up with are:
Light Grey: 12632256 Darker Grey: 8421504 Brownish Grey: 12615808
So for light grey:
[Day 0].TabStop = IIf(Nz([Day 0] , "") = "" OR [Day 0].BackColor = 12632256, True, False)
|
|
|
|