antonyx
Arsenal Supporter
- Local time
- Today, 21:13
- Joined
- Jan 7, 2005
- Messages
- 556
i want my combo list to display addresses (text datatypes) that have been previously used by the person who made the booking..
in my tblJob table, there are records with tblJob.tblJobTo addresses where the tblJob.fkBookerID is 3
****ON MY FORM
the control Me.txtbooker has the value
3
inside it..
i tab to the cboregfroms combo list
i use this on my combo and it is simply blank.. anyone know why?
in my tblJob table, there are records with tblJob.tblJobTo addresses where the tblJob.fkBookerID is 3
****ON MY FORM
the control Me.txtbooker has the value
3
inside it..
i tab to the cboregfroms combo list
i use this on my combo and it is simply blank.. anyone know why?
Code:
Private Sub cboregfroms_Enter()
Me.cboregfroms.RowSource = "SELECT DISTINCT [tblJob].[JobTo] FROM [tblJob] WHERE [tblJob].[fkBookerID] = Me.txtbooker.value;"
Me.cboregfroms.Requery
End Sub