Combobox Selection populating a Listbox

O

Olu Solaru

I need some help in getting my Combo Box Selection to Populate to my Listbox.
I also need some help in clearing the listbox or removing an item from the
listbox
Here is my current Code - (just for adding to the listbox).

Dim strSQL As String
strSQL = "SELECT DISTINCT ControlNumber FROM tblSopNumbers WHERE
tblSopNumbers.ControlNumber = " & cboControl
lstControlNumbers.RowSource = strSQL

Do I need to declare a public function?

Here is error message: I am getting - The expression After Update you
entered as the event property as the event of setting produced the following
error. A problem occured while Microsoft office access was communicating
with the OLE Server or ACtive X control
 

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