I'm not sure if you could make it work, but I use a program called WinDiff to
compare two text files. It shows the line numbers/highlights changes, etc.
Pretty handy actually.
I'm thinking maybe you could export the memo to a text file, but I don't
know how you'd get around the lack of word wrapping (maybe to an rft? I'm not
sure if WinDiff works with it)...
Anyway, it might be worth looking into, may save lots of time trying to
re-write a comparison module if no one else has any ideas.
--
Jack Leach
www.tristatemachine.com
"I haven't failed, I've found ten thousand ways that don't work."
-Thomas Edison (1847-1931)
"Dale Fye" wrote:
> I've got an application where I track changes to a specific memo field,
> saving the previous version to a History table. One of my users has asked if
> I can create a form where he can pull up the previous version, and the new
> version for comparison. Obviously no sweat, so far. But what he really
> wants is to be able to look at the form, and see what has changed from the
> original to the new version (sort of like tracking changes in word).
>
> My thought is to use a text box set to Rich Text for the latest version, and
> compare the two strings word by word, when a difference occurs, insert a html
> tag to change the color in the new version. I know this method is frought
> with pitfalls, so I was wondering whether anybody has done something similar
> and could provide some tips.
>
> ------
> Dale
>