[Access] Data from a field that depends on another
Solved
nlbmoi
Posted messages
427
Registration date
Status
Member
Last intervention
-
nlbmoi Posted messages 427 Registration date Status Member Last intervention -
nlbmoi Posted messages 427 Registration date Status Member Last intervention -
Hello
I am starting with Access 2010 and I have a small question: I am filling out a database of members and I would like Access to determine a field based on another field.
Thus, I request the date of birth of a person and I would like that once this field is filled in, I can have another field "Category" that automatically takes the value according to the date of birth.
Example: if I enter a date where the year of birth is before 1993, "Senior" should be indicated in the corresponding Category field; if I enter the year of birth 2000, it should indicate "Minimes".
Thank you for your help.
I am starting with Access 2010 and I have a small question: I am filling out a database of members and I would like Access to determine a field based on another field.
Thus, I request the date of birth of a person and I would like that once this field is filled in, I can have another field "Category" that automatically takes the value according to the date of birth.
Example: if I enter a date where the year of birth is before 1993, "Senior" should be indicated in the corresponding Category field; if I enter the year of birth 2000, it should indicate "Minimes".
Thank you for your help.
17 answers
Hello,
Regarding the category, I had suggested this:
A little thought, the category is not a fixed value since it depends on the date of birth and the current year, so it should not be stored in the table but we will determine it according to the needs in the form or the state.
Feel free to ignore this, and in that case you can create an update query that you would run at the beginning of each season.
For the category assignment, you can use the season as a basis instead of the current year.
--
Best regards.
The Penguin
Regarding the category, I had suggested this:
A little thought, the category is not a fixed value since it depends on the date of birth and the current year, so it should not be stored in the table but we will determine it according to the needs in the form or the state.
Feel free to ignore this, and in that case you can create an update query that you would run at the beginning of each season.
For the category assignment, you can use the season as a basis instead of the current year.
--
Best regards.
The Penguin