AquaNut 12 Light Poster

Hi All,

Been trying to use the BindingSource.Filter on my program and everytime I fire it nothing is happening i.e. the text boxes I have setup and are not populated even though I can navigate through all the records inthe dataset using the respective navigation buttons...

Code..

Private Sub ButFind_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButFind.Click

Dim SWTrioleNo As Integer

SWTrioleNo = InputBox("Enter Triole Number:")

Me.TrackerBindingSource.RemoveFilter()

Try

Me.TrackerBindingSource.Filter = "TrioleNo =" & SWTrioleNo

Catch ex As System.Exception
MsgBox(ex.ToString)

End Try

End Sub

Many thanks inadvance.

Ken

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.