This is my statement:
Dim InsName As String
InsName = "SELECT [Tbl_RentalRate].[Instrument]," & _
" [Tbl_RentalRate].[RentalType]," & _
" [Tbl_RentalRate].[RentalRate] " & _
"FROM Tbl_RentalRate " & _
"WHERE [Instrument] = " & Me.cmboInstrument.Value
Me.cmboRentalType.RowSource = InsName
Me.cmboRentalType.Requery
I select the instrument form cmboInstrument all is good, when I go to cmboRentalType to view the filtered list, a Parameter Value box opens and I have to type the value already selected in cmboInstrument field to get the filter to work.
What is going wrong with the statement that the parameter value box is opening?
Thanks.