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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search master windows form using popup form

Status
Not open for further replies.

richey1

Technical User
Oct 5, 2004
184
GB
Hi

I've got a form AddDecision.vb which on load fills several datasets, resulting in a master/child scenario.

DataSet11.Clear()
DataSet11.EnforceConstraints = False
SqlDataAdapter3.Fill(Me.DataSet11)
Me.SqlDataAdapter_Port.Fill(Me.DataSet11)
SqlDataAdapter5.Fill(Me.DataSet11)
SqlDataAdapter1.Fill(Me.DataSet11)
Me.SqlDataAdapter4.Fill(Me.DataSet11)
DataSet11.EnforceConstraints = True

there are various bound fields (summary, objective, decision date)
On the click of the search button i run this (this loads a pop-up form called Search.vb)

If IsNothing(frm2) = False Then
If frm2.IsDisposed = False Then
Else
frm2 = New Search
frm2.Show()
End If
Else
frm2 = New Search
frm2.Show()
end if

I've set 3 unbound fields, when the user fills in the fields on Search.vb and clicks Search I want AddDecision.vb to filter based on the search criteria selected from Search.vb (not too bothered about it searching the datagrid (the child) at the moment)

I'm a real novice at vb.net, coming from Access
Any help appreciated ?

regards
richey
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top