If Me.txtKey.Text = "" Then
Me.Ds.Tables("MFM").Clear()
Me.view_MF.Parameters("@Key").Value = "n/a"
Me.daviewMFM.Fill(Me.Ds, "MFM")
Else
Me.Ds.Tables("MFM").Clear()
Me.view_MF.Parameters("@Key").Value=Me.txtKey.Text
Me.daviewMFM.Fill(Me.Ds, "MFM")
End If
At the moment I'm using a stored procedure witch I called every time the
textbox change to filter the dataset (this procedure require too many
resources). I've tried to use the select command but no results.
Regards
Eddy
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!