OK I've gone over some of these lessons several times. I cannot figure it out. Here's my problem: I receive a weekly report with completion dates for several employee training courses, which employees must renew annually, biannually, or triennially. Date course was last completed is called [Completion Date] which comes from an imported source. (I cannot delete the space in the field's name because it's from an imported source.) How do I write the code to determine whose courses are expired for each course for each person? I cannot figure it out for the life of me. Any help would be greatly appreciated. --Kent J.
I've redacted the names, emails, and course names to protect the guilty. ;-p The imported file is an Excel PivotTable (i.e., Crosstab in Access), but I cannot change the file's format. (I'm stuck with what I receive.) The fieldname for the date value is [Completion Date], which imports as a complete date value, as you can see. I want to create a report showing which courses are past due using conditional formatting. Courses expiration variously at four different intervals: initial (one time only), annual (every year), bi-annual (every two years), and tri-annual (every three years). The table also has primary and foreign keys on the two left columns.
I would import the data into a temp table first, then use an append query to get the data into a properly formatted table with the right field names and data types. Once you have that, it should just be an easy matter of setting up the conditional formatting the way you want it. Don't try to apply CF to tables you've imported directly from Excel. Always use that intermediate step. Give it a go, and if you still can't get it to work, let me know. I've got a bunch of questions in the TechHelp bin that are similar to this.
Sorry, only students may add comments.
Click here for more
information on how you can set up an account.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
Access Expert 28.