B
Billp
Hi,
Is it possible to make the row source for a combo box be driven from the
result of a text box where the result is a LIKE filter?
I have
Private Sub txtQuote_Number_AfterUpdate()
Dim strNewNumberPrefix As String
Dim s As String
strNewNumberPrefix = Left(Me![txtQuoteNumber], 1) 'remove the 0's to leave
the letter
If Not IsNull(Me![txtQuoteNumber]) Then
s = strNewNumberPrefix
End If
cboSER_Exists.RowSource = s
End Sub
The Row source filter will always be a letter.
Say the letter is "V" then I would wish to make the row source filter LIKE "V"
where s is the LIKE "V".
?????????????????
Than you in advance.
Best Regards
Bill
Is it possible to make the row source for a combo box be driven from the
result of a text box where the result is a LIKE filter?
I have
Private Sub txtQuote_Number_AfterUpdate()
Dim strNewNumberPrefix As String
Dim s As String
strNewNumberPrefix = Left(Me![txtQuoteNumber], 1) 'remove the 0's to leave
the letter
If Not IsNull(Me![txtQuoteNumber]) Then
s = strNewNumberPrefix
End If
cboSER_Exists.RowSource = s
End Sub
The Row source filter will always be a letter.
Say the letter is "V" then I would wish to make the row source filter LIKE "V"
where s is the LIKE "V".
?????????????????
Than you in advance.
Best Regards
Bill