A family of Microsoft relational database management systems designed for ease of use.
I expect you could set the default value to something like
=DLookup("ID","Your Table","YearField = Year(Date())")
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi, I have a combo box on a form which is populated by a query which returns a list containing an ID and a membership year (yyyy),
e.g.
12 2001
167 2023
15 2022
80 2024
81 2010
The combo box is bound to column 1, i.e. the ID.
Although the user can select a different year from the combo box, I would like the default display entry to be the current year row.
Any suggestions how I can achieve this please.
A family of Microsoft relational database management systems designed for ease of use.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Answer accepted by question author
I expect you could set the default value to something like
=DLookup("ID","Your Table","YearField = Year(Date())")
Many thanks Duane, that worked great.
What I understand from your question that You need the display as it is showing, only after selection, the value in the text box to be year instead of ID.
Just change the bound column to 2, it should work,