i have a report that gets its information from a query. i would like to know how to compare the dates in the db to todays date.So i can display the items that are overdue.
Depends on how you want to do this but you can use something like:
=IIf([DateField]<Date())
You can use conditional formatting in reports and forms.
Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
Sorry, forgot to complete the IIf()
=IIf([DateField]<Date(), "Some Value", "Other Value")
Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.