Hi Raya,
What I would do would be to save all of the returned forms in a folder by
themselves and then run batch processing macro over the files in the folder
to extract the values from the document variables in each file and write
them to the appropriate fields in a record that was added to the database.
Some of the code that you will need is buried in the article "How to Find &
ReplaceAll on a Batch of Documents in the Same Folder" at:
http://www.mvps.org/word/FAQs/MacrosVBA/BatchFR.htm
And I think the rest is in the last of the articles to which I referred you.
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.
Hope this helps
Doug Robbins - Word MVP
Raya said:
Hi Doug,
Thank you for your advice
Everything seems more or less clear, except the sequence: ok, I build a
form, send it to recepients, who by the way are all over the world, they
fill the fields and return the form. So I receive maybe 100-200 forms. Now
how do I enter all the data to a database? When do I make the connection to
the database? I guess I have to build a button and then revise every form I
received and with the click add the data as a new record, but the button
must be activated only on entering my password? Is there a more simple way?