|
-
Jun 18th, 2005, 06:44 AM
#1
Thread Starter
New Member
Compare two documents and get change report
Hello,
Here is what I have done:
Person 1 will create a word document with some text which may contain some errors like spelling mistake etc.
Person 2 will edit this file and will correct this errors.
When the Person 2 edits the document, a feature of MS-word "Track Changes" is enabled to keep track of what words are deleted and inserted.
I am able to the see the inserted and deleted text programatically by using Microsoft Word 10.0 Object Library to see the revisions made.
I want to check the changes made and insert a record in database with old sentence and new sentence for the first change in text, and insert another record for the second change in text and so on.
Thanks,
Anup R.
-
Jun 20th, 2005, 04:57 AM
#2
Re: Compare two documents and get change report
Not quite sure how you'd do this from Word and putting into access, but perhaps a table:
tblDocsDetails - holds info on the word docs
DocID - pk - auto
...
tblLines
LineID - pk - auto
DocID - number (the key from the above table)
RevisonNum - number - incremental per lindeID/DocID - each revision etc...
LineNumber - number
LineText - text
UpdatedDate - date/time - (now)
UserID - number
This is only a rough idea and may not be worth it.
(What happens if a new sentence is added?)
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|