Error 3211

G

Guest

I have a combo box on a form which, after the user makes a selection, runs a
make-table query and the new table is part of the rowsource for another combo
box. I also have a Reset button in case the user changes his mind after
making that selection, but when clicking the first combo box the second time,
that's when the error 3211 appears. Does anyone know of a way around this?
Thanks in advance,
 
G

Guest

before you delete the table and create it again clear the combo row source
and then set it back

Me.ComboName.RowSource = ""
' delete table
' Create table
Me.ComboName.RowSource = "select FieldName From TableName"
Me.ComboName.Requery
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top