Conditional Format

G

Guest

Hello.
I have a subform with the following fields:
ScheduledTimeFrame
ActualLoginTime
ActualLogoutTime

I need to add Conditional formatting to show something like:
If current time is greater than "ActualLoginTime" and "ActualLogoutTime" is
greater than the current time or is Null then turn blue.

Is this possible?

Your help is greatly appreciated.
Iram/mcp
 
G

grep

Something like this?

if ((Now() > ActualLoginTime) AND (ActualLogoutTime < Now()) then
FieldName.backcolor = 15251596
else
FieldName.backcolor = -2147483643
end if

where FieldName is the name of the field you wanted to change (You
didn't say what it was). Something like that anyway.

grep
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top