I am using the following code to populate some of my combo boxes;
Private Sub form_Open(Cancel As Integer)
With combFilter
.RowSourceType = "Table/Query"
.RowSource = "<Name of Query>"
End With
End Sub
I find that this is quite tempermental. If works for some on some but not on others. I have ran the query and checked it produces the desired results. However, when I drop down the box in run time it is blank.
Any ideas?
Private Sub form_Open(Cancel As Integer)
With combFilter
.RowSourceType = "Table/Query"
.RowSource = "<Name of Query>"
End With
End Sub
I find that this is quite tempermental. If works for some on some but not on others. I have ran the query and checked it produces the desired results. However, when I drop down the box in run time it is blank.
Any ideas?