I have a problem. I want to show two different value in same button.
Here is the image of the report----
https://ibb.co/wrrDSDX

 Try
    If Not String.IsNullOrEmpty(ComboBox1.Text + TextBox1.Text) Then
        Dim keyword As String = Me.ComboBox1.Text + TextBox1.Text.Trim()

        Me.LeaveInfoBindingSource.Filter = "(LeaveCategory LIKE '%" & keyword & "%')" & "OR Convert(PersonalNo,'System.String') LIKE '%" & keyword & "%'"
        Me.ReportViewer1.RefreshReport()
    Else
        Me.LeaveInfoBindingSource.RemoveFilter()
        formLeaveInfoReport_Load(sender, e)
    End If

Please see the image.

commented: The image shows me Search selected. You would have us guessing you are not writing code. Add code to change that button. +15
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.