Adding Conditional Date to Report

A

AuditorCMM

We are setting up a database to log all employee compliants. On one of our
summary reports, we want to add a section that shows the date of the oldest
compliant that is still under investigation. We do have a field in the
database that indicates whether or not the compliant has been resolved, so I
know we need to base the formula on whether that is yes or no, but how do I
develop a formula that pulls the oldest date? I'm afraid there is no simple
way to do this!

Any help would be appreciated. Thanks!
 
A

Allen Browne

Set the Control Source of your text box to something like this:
=DMin("ComplaintDate", "tblComplaint")

Use your field name instead of "ComplaintDate", and your table name instead
of "tblComplaint".
 
A

AuditorCMM

That worked great. Thanks so much!

Allen Browne said:
Set the Control Source of your text box to something like this:
=DMin("ComplaintDate", "tblComplaint")

Use your field name instead of "ComplaintDate", and your table name instead
of "tblComplaint".
 

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