Peter Hewett said:
Hi Dinko Deranja
It's possible but I'm not sure it's a good idea! How are you going to keep your
database in sync with your document. Every time you save your document you have
to update the database. I'd like to know how long it'll take on a 600 page
document!
You are right, but the document will not be changed once it is scanned.
If you can deal with the above problems in addition to the documents BodyText
there are all of the other story ranges to consider. Such as Headers, Footers,
FootNotes, EndNotes etc.
I need only the body text of the document, for now.
You could use the Words collection object.
I will try. What I need is an easy way to reposition to that word when
necessary. So, if I have database fields ID and Text where ID is that unique
identifier, and text is the word itself, then I need to quickly jump to the
place in document where this word is, something like oDoc.GoTo(ID). Of
course, this identifyer has to be reliable (if the document hasn't changed).