----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: cybernevl Message 1 in Discussion In vb.net, I have a form level datatable called Glob_DT. This form has a public function get_DT(strQry) that returns a datatable. This funtion is called in another function on the same form in a loop with a different query for each iteration. The sequence of fld names and data types are maintained through out so theres no problem there. What I want to do is this: Every time the function get_DT(strQry) is called, and a datatable is returned, I want the values of that returned data table to be added to the main form level Datareader Glob_DT. Problem area: Every time I assign the values from the returned datatable to the main datatable, the values asigned from the previous loop are erased, and what remains in Glob_DT is just the values from the last datatable in the iteration. Can anybody tell me how to get over this problem. I want all the rows of each of the datatables that were returned in the loop to be preserved to the form level datatable Glob_DT. Please post some examples. Thanks so much. ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/BDOTNET/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
