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
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