Techie2k
Registered User.
- Local time
- Today, 00:33
- Joined
- May 5, 2009
- Messages
- 12
Hi.
I work in education and I'm currently creating a database for all our SEN pupils. Because their year group will increase by 1 each September I use 'Start Date' and work out the year group from that. That way it will increment automatically each year.
Problem is, it won't update till January, and it needs to +1 on September 1st.
At the moment I use a calculated field in my table with the Expression
How do I add to that expression that if the current year is after September then we add 1 to the year group.
e.g.
I'm adding in our current Year 7's at the moment.
How do I expand my expression to reflect the above?
Cheers all
T.
I've also just noticed that I'm using 2014 as a constant.. How would I change that to run from 'now'
I work in education and I'm currently creating a database for all our SEN pupils. Because their year group will increase by 1 each September I use 'Start Date' and work out the year group from that. That way it will increment automatically each year.
Problem is, it won't update till January, and it needs to +1 on September 1st.
At the moment I use a calculated field in my table with the Expression
Code:
((2014-[StartDate])+6)
e.g.
I'm adding in our current Year 7's at the moment.
- I put Start Date into my form as 2013 (it's a value list btw) and the Year Group shows 7.
How do I expand my expression to reflect the above?
Cheers all
T.
I've also just noticed that I'm using 2014 as a constant.. How would I change that to run from 'now'
Last edited: