Record in a Datasheet

  • Thread starter Thread starter Josue R.
  • Start date Start date
J

Josue R.

I have a datasheet form where the orders are displayed, from this list I
need to put on red color orders where daterequired for completion has
expired. I tried the following

If DateDiff("d", DateRequired, Date) >= 1 Then

DateRequired.BackColor = RGB(255, 0, 0)

Else
DateRequired.BackColor = RGB(255, 255, 255)

End If

This instruction works great with Form View, but as soon as I changed the
form to datasheet form the background doesn't change the color.

Any idea ?

Josue
 

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

Back
Top