>Dear All,
>
>I've got several label for Sun to Sat, I would like to highlight the day of Today, like so
>
>I want to use substitue like this:
>
>X = DOW(Date())
>Thisform.Datelabel(X).background = RGB(0,0,255)
>
>
>Anything wrongs?! cos I couldn't
You can name the labels as follows: the label that is represent Monday name it Label1, Tuesday ->Label2 etc.
Then
X = DOW(Date(),2)
myLabel = [Thisform.Label]+TRANSFORM(x)
&myLabel..BackColor = RGB(0,0,255)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.