I am trying to put in a validation rule so that the table only accepts dates between Jun 01 and May 31 so that i can have a table for each financial year, however it Is either being ignored or not working.
1. Jun 01 and May 31 are NOT dates -- they are string representations of a date segment.
2. ignoring that they are not dates, the range you stated IS a full year. So how would it logically NOT accept any DATE between the two???
Most companies I have worked for (mostly large corps) have date conversion tables that EXPLICITLY relate every swingin' date to something (accounting day, accounting month, accounting quarter, accounting year, manufacturing day etc)
USE REAL DATES (year, month and day)
Skip, [red]Be Advised![/red] The only distinction between a bird with one wing and a bird with two, is merely... a difference of A Pinion!
Thanks for this, I am entering the dates in as proper dates, i was just giving an example of the days months i was using as it will need to be done for each financial year (going back a few!). Thanks for the idea about creating a table, but how would i link this back to the main table or form to make only records that have those dates appear?
Sorry mate, I have joined to the date table, but it is not restricting the dates that go in. How do i set the Account date as the criteria? Is this in the validation rule? I still cant get the code right for this so any help is massively appreciated!
I haven't read the that document, but i am not sure the best way to do what i am trying to do. Have you got any suggestions as i am fairly new to access?
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.