I'm having a bit of an issue with an inherited database and I'm hoping someone can help.
I have a table called "Project Entry" and a form called "FormEntry" that were both created by the database creator. At the request of the people the database is for, I changed the "Priority" field from a user-entered field to one that, with use of the IIf function, calculates the code based on the difference between the current date and the due date. I did this by creating a hidden field that uses the DateDiff function, and then the Priority field uses the IIf function based on the result from the hidden field.
That all works fine.
The problem I am having is that the Priority code no longer populates to the "Project Entry" table. From what I can tell, this is because the "Control Source" is now the IIf function and not "Priority" which is what it was before.
I've tried moving the function to various places on the "Event" tab but none of them work.
What am I missing to make this work? I'm sure it's user error but I can't figure it out! That table is used for several reports, so I need to figure out how to get the priority code back on there!
Teresa