Can I highlight a page?

S

Stapes

Hi

I have a form with 3 pages on it. If an item shows as Out Of Stock on
one of the pages, I would like to highlight it by maybe making the
page name display in red.
How can I achieve this?

Stapes
 
T

Tom van Stiphout

On Thu, 10 Jan 2008 09:36:25 -0800 (PST), Stapes

Not the page name, but certainly some control on the page, or even the
background color. For example this one-liner in the Form_Current event
would do:
Me.Detail.BackColor = IIf(Me.OutOfStock, vbRed, vbWhite)

-Tom.
 
Top