joshirohany
Registered User.
- Local time
- Yesterday, 16:14
- Joined
- Apr 3, 2019
- Messages
- 33
Dear all,
Thanks For helping at first. i am trying to update List box based on selection of Combo box.
i am using below code for updating in AFTER UPDATE of combobox.
UG added Code Tags .....
List box doesn't not update still. attached is the sample.
please help,
Thanks
Thanks For helping at first. i am trying to update List box based on selection of Combo box.
i am using below code for updating in AFTER UPDATE of combobox.
UG added Code Tags .....
Code:
Option Compare Database
Private Sub Combo14_AfterUpdate()
Dim ListFilter As String
ListFilter = "SELECT [details].[EName] " & _
"FROM details " & _
"WHERE [details].[Department] = Forms!Form2.Combo14"
Me.List18.RowSource = ListFilter
Me.List18.Requery
End Sub
List box doesn't not update still. attached is the sample.
please help,
Thanks
Attachments
Last edited by a moderator: