Thanks Julian.
I have the editing portion working- mostly.
Here is a problem though.
I have many merge fields that are populated from a query- working fine. Then I have a set of non-data "merge" fields in the same document that the client tabs through and enters data in. I can't get the data entered to save with the document, or is WPMMDataProvider1.ReadData is overwriting the editable fields data?
Also, how do you get the document to open with the cursor at the first editable field? When I open the document for the first time, and click and tab, it goes to the first editable field and works nicely. Subsequent openings of the same document result in the cursor staying where it was last at.
Ideally, it would be great if the cursor goes to the last field edited so that the user could begin where they left off. For the first time a document is opened, that would naturally be the first editable field. So, if the user is editing a document with 10 fields, finished entering data in field 4, closes the editor, works on the same document, but for a different record, comes back to that same document for that record, it would be ideal if the cursor automatically jumped to field 5.
Sorry for my lack of understanding. I am getting closer though. The documentation very clear.
Thanks in advance.
John