I have a subform in datasheet view. One of the fields is a combo box where the user selects a record from a table that is linked to this field as a Lookup. This works fine.
However, the list will grow over time, and I'd like the combo box to default to the record with the MAX id field, as the vast majority of the time that's the entry they'll want. How can I set the default?
It occurs to me when writing this that I could change the rowsource to be ordered by ID DESC, so at least that's the closest one available, but I'd rather it was the default. I don't know how to set the default value in a field to the results of a query... is that the way to handle it, or is there something I can do in the UI?
Thanks much in advance.
However, the list will grow over time, and I'd like the combo box to default to the record with the MAX id field, as the vast majority of the time that's the entry they'll want. How can I set the default?
It occurs to me when writing this that I could change the rowsource to be ordered by ID DESC, so at least that's the closest one available, but I'd rather it was the default. I don't know how to set the default value in a field to the results of a query... is that the way to handle it, or is there something I can do in the UI?
Thanks much in advance.