Greetings!
I have a combobox with a pk_id (hidden) and name of employees. I have a filter on the source query to only return the 'active' employees. My problem is how do I set the initial load value of this combobox to the first record returned by the query? I can't put 'pk_id = 1' in the form load event, as the employee with pk_id=1 isn't always valid/active/just plain filtered out. I'm more than happy to google something up, but everything I find boils down to 'default = 1' (which isn't always valid). Can I access the recordset in such a way that I get the 'relative first record' rather than 'record = 1'?
----
JBR
I have a combobox with a pk_id (hidden) and name of employees. I have a filter on the source query to only return the 'active' employees. My problem is how do I set the initial load value of this combobox to the first record returned by the query? I can't put 'pk_id = 1' in the form load event, as the employee with pk_id=1 isn't always valid/active/just plain filtered out. I'm more than happy to google something up, but everything I find boils down to 'default = 1' (which isn't always valid). Can I access the recordset in such a way that I get the 'relative first record' rather than 'record = 1'?
----
JBR