Ok, here is what I want to do...
Query 2 different databases into 2 separate datasets. That is easy enough. Then I want to compare both datasets and only output the data from dataset 1 that is NOT in dataset 2.
Each dataset is going to have a few hundred records.
So, what I thought about doing is, load data into both sets, then loop through the first set record by record comparing to each record in the second dataset. Then output to a webform if that record does not match a record in the second dataset.
Seems that this should work fine, but I was wondering if there is a more efficient way of completing this? Because with this model, I will end up looping through the second dataset a couple of hundred times....
Any advice is greatly appreciated.
Thanks
Query 2 different databases into 2 separate datasets. That is easy enough. Then I want to compare both datasets and only output the data from dataset 1 that is NOT in dataset 2.
Each dataset is going to have a few hundred records.
So, what I thought about doing is, load data into both sets, then loop through the first set record by record comparing to each record in the second dataset. Then output to a webform if that record does not match a record in the second dataset.
Seems that this should work fine, but I was wondering if there is a more efficient way of completing this? Because with this model, I will end up looping through the second dataset a couple of hundred times....
Any advice is greatly appreciated.
Thanks