Comparing Recordsets in a Database



Click here for a larger image.

Environment: VC6 SP4, NT4 SP6, ADO 2.5

Everyone knows this. You have a complex table structure in the database, and then you have to customize the software work and change this data. How do you compare and verify the results of the new version with the old? With this little tool, you can define a set of queries and its parameters (referenced in the query like $$parametername$$) and dump these results to a file. Two of these files can be compared with the program "WinDiff."

Tip: Look at the macros and the functions in the CAdoUti class.

Acknowledgements:

I used the CGridCtrl class from Chris Maunder, just because I thought it's the best. Thanks, Chris!!! (I have modified the grid to use it as a property sheet.)

Downloads

Download application - 80 Kb
Download source - 177 Kb


Comments

  • We had this but solve it differently

    Posted by Legacy on 09/23/2002 12:00am

    Originally posted by: Russ Freeman

    We had the same problem; Established DB and code to act on it...now the code needs to be changed and the data needs to be verified against the old code.

    We wrote some ASP pages that simply queried the two sets of data and produced web pages from the results of the comparison. It was quick to do and easy to see differences. Links were added to drill into the differences to better see why there were differences.

    Now, whenever we make such changes we run everything through the ASP pages.

    Works for us!

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Hybrid cloud platforms need to think in terms of sweet spots when it comes to application platform interface (API) integration. Cloud Velocity has taken a unique approach to tight integration with the API sweet spot; enough to support the agility of physical and virtual apps, including multi-tier environments and databases, while reducing capital and operating costs. Read this case study to learn how a global-level Fortune 1000 company was able to deploy an entire 6+ TB Oracle eCommerce stack in Amazon Web …

  • Live Event Date: July 30, 2014 @ 11:00 a.m. ET / 8:00 a.m. PT You may already know about some of the benefits of Bluemix, IBM's open platform for developing and deploying mobile and web applications. Check out this upcoming eSeminar that focuses on building an Android application using the MobileData service, with a walk-through of the real process and workflow used to build and link the MobileData service within your application. Join IBM's subject matter experts as they show you the way to build a base …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds