Can anyone give me an idea how to use combo boxes as a query.
I know some SQL, but i'm confused on how you reference the value in the combo box and how to correlate that with the Table being queryed
Should this be AfterUpdate
Private Sub Combo10_BeforeUpdate(Cancel As Integer)
Dim dbs As DAO.Database
Dim rst As DAO.Recordset
Set rst = dbs.OpenRecordset("LAB2", dbOpenDynaset, dbConsistent)
'Then What?
End Sub
Thanks Greg
Sorry for so many questions.
I know some SQL, but i'm confused on how you reference the value in the combo box and how to correlate that with the Table being queryed
Should this be AfterUpdate
Private Sub Combo10_BeforeUpdate(Cancel As Integer)
Dim dbs As DAO.Database
Dim rst As DAO.Recordset
Set rst = dbs.OpenRecordset("LAB2", dbOpenDynaset, dbConsistent)
'Then What?
End Sub
Thanks Greg
Sorry for so many questions.