I have a series of three comboboxes on a form that let the user narrow down their record selection criteria on a table of invoices: 1) cboClientID, 2) cboProjectID, 3) cboVendorName, in that order. In the AfterUpdate sub for cboClientID, I set the other two comboboxes to display null and then set the form's recordsource to "SELECT * FROM tblInvoices WHERE ClientID=0" in order to display no records until a ProjectID has been entered. This works just fine in Access 2003, but in Access 2007 it blanks out the values selected in the comboboxes so that they appear to be empty when in fact they are not. This is rather disconcerting to the users, to say the least.
Is there a better way to do what I'm trying to do or is there a way to work around this in 2007?