I have a table capturing project activities with three date fields (opened, started, closed) that is fed by an entry form used by Project Managers. Opened is filled automatically with today's date when the record is created. The other two are supposed to be actual dates (ie already started or already closed; not we hope to start/close).
Almost complete edit of my post after chatting to my boss:
I want to limit the started and closed fields to any date in the past OR any date occuring in the next 7 days. If a PM tries to enter a date outside that range I want to code a pop up message explaining why they can't, and to clear the date field back to Null.
Do I do the date limitation through the validation rule? or in my VB code? If in the VB code, how do I go about that? I think I can do the message box and clear to null, 'cause you've all helped me do that for other areas of the DB.
Almost complete edit of my post after chatting to my boss:
I want to limit the started and closed fields to any date in the past OR any date occuring in the next 7 days. If a PM tries to enter a date outside that range I want to code a pop up message explaining why they can't, and to clear the date field back to Null.
Do I do the date limitation through the validation rule? or in my VB code? If in the VB code, how do I go about that? I think I can do the message box and clear to null, 'cause you've all helped me do that for other areas of the DB.
Last edited: