
Originally Posted by
kc1
Yeah, I'm familiar with Disticnt.
This is what currently happens, when an unbound form and subform are opened, event code is run that bounds a record set to the subform, this record set is from the back end database.
On the form there is a combo box, I want this combo box to be populated with unique values from 'Field1' from the record set now bound in the subform.
Where is this record set stored and can I keep using it for such actions?
I don't think the recordset's location is important. You should be able to use the recordset until it is closed. Do you know where or when the recordset is opened or closed? Is it a global variable?
Perhaps I should just append this record set to a table and use that to determine the combo box values. (how, I don't know either?)
This shouldn't be necessary.