i was trying set row source by sql string in vba code for a list box, why when i open it, there is nothing, i use the same way to set up row source for combo box, it works fine, or the list box is different with combo box?
the code is:
Me!lstResult.RowSource = "SELECT Invoice.ID " & _
"FROM Invoice WHERR " & _
"Invoice.ID = " & & _
Form_SearchcmbInvoiceID
really appreciate for any help!!!
the code is:
Me!lstResult.RowSource = "SELECT Invoice.ID " & _
"FROM Invoice WHERR " & _
"Invoice.ID = " & & _
Form_SearchcmbInvoiceID
really appreciate for any help!!!