Hi,
I have a query, qryCC_Data, that I can open from a command button on a form using the code below in the command button’s on-click event.
Private Sub Command7_Click()
DoCmd.OpenQuery "qryCC_Data", , acReadOnly
End Sub
I also have a listbox on the form, List5, and would like to be able to...