I think the best way is to make your SQL from code: something like:<br>Suppose you want to change the recordsource of a subform (frmSubform) on a form and cboBox is the combo-box where you set your field:<br><br>sub cboBox_Afterupdate()<br>dim strSQL as string<br>strSQL = "SELECT " & Me![Text5] & "FROM table1 WHERE Family<>'*';"<br><br>me!frmSubform.recordsource = strSQL<br>me!frmSubfrom.Requery<br><br>End sub<br><br>although I do not exactly know what you want to achieve with your where statement:<br>-do you realy have * in the Family field? If not it doesn't mean a lot<br>- I guess you would like to select all the empty fields<br>use: Family Is Not Null<br>-or the empty fields: Family Is Null<br>-or all the Families starting with a: Family Like 'a*'<br>- or all the Families containing an a: Family Like '*a*'<br><br>Hope this helps,<br><br>greetings,<br><br>Dirk<br><br><A HREF="mailto:dirk.news@yucom.be">dirk.news@yucom.be</A><br>