Hello,
I have a Parent Form and a Child form. In Child form, I perform some search and store the data in Dataset. I want to pass that Dataset in the parent form.
This is the way i have coded
' Parent Form
Private Sub ShowSrch()
srchDt = New SearchForm(main Con)
srchDt.TopLevel = False
srchDt.Parent = Me
srchDt.SetBound s(0, 30, srchDt.Width(), srchDt.Height() )
srchDt.Show()
End Sub
Public Sub SetSearchedDs(B yVal sds As DataSet)
Me.searchedDs = sds
End Sub
In child, I tried Me.Parent. but couldn't find SetSearchedDS() . How do i set this, can anone assist me. Any help is appreciated.
Thanks
Terry
I have a Parent Form and a Child form. In Child form, I perform some search and store the data in Dataset. I want to pass that Dataset in the parent form.
This is the way i have coded
' Parent Form
Private Sub ShowSrch()
srchDt = New SearchForm(main Con)
srchDt.TopLevel = False
srchDt.Parent = Me
srchDt.SetBound s(0, 30, srchDt.Width(), srchDt.Height() )
srchDt.Show()
End Sub
Public Sub SetSearchedDs(B yVal sds As DataSet)
Me.searchedDs = sds
End Sub
In child, I tried Me.Parent. but couldn't find SetSearchedDS() . How do i set this, can anone assist me. Any help is appreciated.
Thanks
Terry
Comment