Re: Merging datasets based upon primary key
Well, if it works, then there shouldn't be too much of a problem. Just make sure that you use the Application.DoEvents() command - that way, it won't jam up the rest of program whilst the program is looping through the hundreds of rows...
It might make it a tad slower, but it's probably worth it to stop the rest of the program freezing. Maybe you could implement a check box labelled "Keep User Responsive" - if it's checked, then use DoEvents(), and if not - well, it's their fault if their computer gums up.
|