We need it to be used in a table for people booking the use of something, and the dates obv can only be Today or up to 3 years in the future, so with this scenario, where are we going wrong?
Imagine that you create a new record and put todays date in the validated field, it meets the validation criteria and all is well with the world!! Tomorrow you go back to that record to edit a field in it, but you are now unable to save the record as the date entered no longer meet the validation.
This sort of record validation really needs to be done, in a form for example, at the point of entry of the information rather than at table level.
Unless, of course, you are never going to edit any of the records once they have been entered!!
As the validation is dynamic, i.e. the values will change with time, I would recommend that you do the validation on the form level as the data is entered and not on the table.
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.