place a overdue display in header

D

Dale G

I would like to place an overdue display in the header of the
frmUniformOrders, something like the one for possible duplicate in the
Contacts db.

I think I would have to place a date ordered text box in the form and
another text box in the header that would remain invisible until the set time
between the two has elapsed.

I’m using Access 2007.

Could anyone assist or lead me to a method (or link) to get that done?
 
A

Allen Browne

Set the Control Source of the new text box in the form header to an
expression like this:
=IIf([date ordered] < Date(), "Overdue", Null)
 
D

Dale G

Ok, that worked, thank you sir.
I changed the text box on the form to DueDate, and

=IIf([DueDate] < Date(), "Overdue", Null). Very good.


Allen Browne said:
Set the Control Source of the new text box in the form header to an
expression like this:
=IIf([date ordered] < Date(), "Overdue", Null)

--
Allen Browne - Microsoft MVP. Perth, Western Australia

Reply to group, rather than allenbrowne at mvps dot org.

Dale G said:
I would like to place an overdue display in the header of the
frmUniformOrders, something like the one for possible duplicate in the
Contacts db.

I think I would have to place a date ordered text box in the form and
another text box in the header that would remain invisible until the set
time
between the two has elapsed.

I’m using Access 2007.

Could anyone assist or lead me to a method (or link) to get that done?
 

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