I have a form that is based on a table (projects) that i would like to find a particular project.
I have been using the apply filter and don't like it. The reason is that I have subforms on this form that have filters as well.
When i do a docmd.showallrecords in code. All forms currently open are affected.
I would like to change the recordset to the project selected as the result of a dropdown.
I do not know how to do this in code. I think it would be done this way:
afterupdate of the combobox executes something like
recordset now = select * from projects where projectnum = comboboxproject.
apply recordset to the form's row source?
Any ideas?
Thanks,
I have been using the apply filter and don't like it. The reason is that I have subforms on this form that have filters as well.
When i do a docmd.showallrecords in code. All forms currently open are affected.
I would like to change the recordset to the project selected as the result of a dropdown.
I do not know how to do this in code. I think it would be done this way:
afterupdate of the combobox executes something like
recordset now = select * from projects where projectnum = comboboxproject.
apply recordset to the form's row source?
Any ideas?
Thanks,