ahbenshaut
Well-known member
Im unsure how to accomplish this so I am hoping that someone will offer up their expertise. So here goes....
On form1,
dim clsSecurity as new Security
A function is called in the Security class, that fills a dataset with all of the employee data. Using the dataset, a combobox is populated.
On form2
I want to use the same dataset in the dataset that was filled on form1, to eliminate server trips, but I can't figure out how to keep the data. If I use dim clsSecurity as new Security, that instantiates another security class, thereby wiping out the data I want to use.
Any help will be greatly appreciated.
On form1,
dim clsSecurity as new Security
A function is called in the Security class, that fills a dataset with all of the employee data. Using the dataset, a combobox is populated.
On form2
I want to use the same dataset in the dataset that was filled on form1, to eliminate server trips, but I can't figure out how to keep the data. If I use dim clsSecurity as new Security, that instantiates another security class, thereby wiping out the data I want to use.
Any help will be greatly appreciated.