B
Bill
Hi group,
I am working on color coding a row in a datasheet view based on time
elapsed. So what I want is if the time now is great than 7 minutes then
change the row/property to yellow otherwise leave it white. The form must
refresh on a regular basis as well.
This is what I have but it is not working. For one if used the number code
for the color it changes it to 0.65535 and does not run, if I use the word
"Yellow" it fails as well. Then once I get that, how do I refresh the view
every 30 seconds???
If DateDiff("n", [TimeOpened], Now()) >= 7 Then
Me.GeneralField.[Back Color].65535
Else
Me.GeneralField.[Back Color].16777215
End If
Thanks
I am working on color coding a row in a datasheet view based on time
elapsed. So what I want is if the time now is great than 7 minutes then
change the row/property to yellow otherwise leave it white. The form must
refresh on a regular basis as well.
This is what I have but it is not working. For one if used the number code
for the color it changes it to 0.65535 and does not run, if I use the word
"Yellow" it fails as well. Then once I get that, how do I refresh the view
every 30 seconds???
If DateDiff("n", [TimeOpened], Now()) >= 7 Then
Me.GeneralField.[Back Color].65535
Else
Me.GeneralField.[Back Color].16777215
End If
Thanks