A
ashley90
Hiya
I have tried everything to make this code work in my database but it just
won't!
Can anyone give me any advice? It is only based around one table (there
isn't two tables like all the samples keep showing on here)
Heres the code....
Private Sub cboSession_AfterUpdate()
Me.cboCoursePeriod.RowSource = "Select Course Period FROM" & _
"Course Period WHERE CP Ref = " & Me.cboSession & _
"ORDER BY Course Period"
Me.cboCoursePeriod = Me.cboCoursePeriod.ItemData(0)
End Sub
Thanks
Ashley
I have tried everything to make this code work in my database but it just
won't!
Can anyone give me any advice? It is only based around one table (there
isn't two tables like all the samples keep showing on here)
Heres the code....
Private Sub cboSession_AfterUpdate()
Me.cboCoursePeriod.RowSource = "Select Course Period FROM" & _
"Course Period WHERE CP Ref = " & Me.cboSession & _
"ORDER BY Course Period"
Me.cboCoursePeriod = Me.cboCoursePeriod.ItemData(0)
End Sub
Thanks
Ashley