C
Cowboy
The fact the datasets are typed means you can compare schemas rather easily,
but little else. You can loop through the records and determine the
differences. There are a couple of ways to handle data differences.
1. Loop through the records in one and compare to the same row in the other.
Slow but thorough.
2. Compare the data as XML. A bit faster, but can be error prone if you make
mistakes.
3. Link the data sources (not always possible) and grab the delta between
the two (ie, only those records that are different). From here you can loop
through and update those records incorrect in one data source (the one that
fills tdsEmp2).
Without understanding the goal, I can only suggest generic ideas, but this
should give you a start.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
************************************************
Think Outside the Box!
************************************************
but little else. You can loop through the records and determine the
differences. There are a couple of ways to handle data differences.
1. Loop through the records in one and compare to the same row in the other.
Slow but thorough.
2. Compare the data as XML. A bit faster, but can be error prone if you make
mistakes.
3. Link the data sources (not always possible) and grab the delta between
the two (ie, only those records that are different). From here you can loop
through and update those records incorrect in one data source (the one that
fills tdsEmp2).
Without understanding the goal, I can only suggest generic ideas, but this
should give you a start.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
************************************************
Think Outside the Box!
************************************************