roscoe
Well-known Member
- Joined
- Jun 4, 2002
- Messages
- 1,062
- Office Version
- 365
- Platform
- Windows
- MacOS
I have a project (proprietary, can't go into details, sorry) where I read in data from a server and convert it to a user friendly graphical form. It get's repeated over time and sometimes the source data will slightly change from what was previoulsy imported. My users have asked for me to do a comparison and pop up a message box with significant changes.
So far I've read the old data into an array, and imported to updated data. Now I'm stuck as to the best way to do the compare. Given that some items in the orignal import may go away over time, and new items may be added, I can't do a straight row by row compare (if something as been added in the new import, there will be an offset bewtween the two arrays)
Looking for a clever way to identify adds, deletetions, and value changes (two of the array values are start and stop time of the event, another is a value associated with that event that could change, etc...)
Again, I'd love to show an example but corporate policy doesn't allow it (the computer is on a standalone network, couldn't even copy the code over if I wanted)
Thanks in advance!
So far I've read the old data into an array, and imported to updated data. Now I'm stuck as to the best way to do the compare. Given that some items in the orignal import may go away over time, and new items may be added, I can't do a straight row by row compare (if something as been added in the new import, there will be an offset bewtween the two arrays)
Looking for a clever way to identify adds, deletetions, and value changes (two of the array values are start and stop time of the event, another is a value associated with that event that could change, etc...)
Again, I'd love to show an example but corporate policy doesn't allow it (the computer is on a standalone network, couldn't even copy the code over if I wanted)
Thanks in advance!