Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Filtering a form in VB.net

Status
Not open for further replies.

KiaKia

Programmer
Mar 30, 2008
59
US
Hi,
Is there any one to let me know how I can open a form with a specific filter in VB.net

Thanks,
Kia

 
Hi Ron,

What I am trying to do is to open a form which presents just a number of records which are matched with my criteria.

What I have done untill know is that I created a form binded to a tableadapter which is connected to a MS ACCESS table as the datasource. I open the form with "myForm. Show()" function in my code but I do not know how to apply conditions, so the form should show up with the records witch their "SpecID" field is equal to a certain value.

Please let me know your comments.

Thanks,
Kia

 
You can filter your results with the bindingsource, lookup
bindingsource.filter
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top