Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

wwwxxxapc, wwwxxxapc, wwwxxxapc, sslengine vs sslproxyengine, WWWXXXAPC, ftp_get() 'RETR' not understood , wwwxxxdoco, wwwxxxdoco, wwwxxxdoco, WWWXXXAPC



#1: Passing dataset by reference between forms, what is the best approach?

Posted on 2008-04-22 04:16:42 by Gabe Garza

Hello there,

I am wanting to pass my datasets by reference to other forms. As soon as I
do that I have to reset any binding sources by setting their datasource
property to the original datasource.

I also find that I cannot then bind directly to my dataset without a binding
source, so I have to duplicated all my binding sources on my second form.

Is this normal or am I doing something wrong? How do you guys normally pass
large amounts of data between forms?

This is my function I run to pass the reference in (I didn't overload new
for some reason which I dont recall now)
Public Sub assignReference(ByRef theDs As dataset)

Me.ds = theDs

Me.serviceOrderBindingSource.DataSource = Me.ds

End Sub

Thank you kindly for anyones thoughts
John Sheppard

Report this message