Yes, I did envision saving the logo, address, text etc in Access and then
regenerate it with the reference num on it. But it sounds like I can print
the reference number on the word document from the server. You are correct,
there is one word document that will be sent out to a lot of people. The only
difference is that each document will have a different reference number on it
that is generated from within Access. That's way I thought the document
needed to be regenerated in Access.
But it sounds like I can pull up the word doc from the server, assign a
reference number to it and then print it out. How do I attach the reference
numbers to the survey that's on the server from within Access?
The Process:
The word doc is on the server. I pull it in somehow (or just print the ref
num on it) and assign a running reference number that is printed off. The
printed copy is mailed out. The word document is printed off again but with
a new running reference number and so on........
When it is returned, I need to be able to key in the reference number that is
on the returned word doc , pull up the questions for the word document and be
able to capture the answers in Access and then count how many answers where
1's and how many were 2's etc.,
The data entry person will take the returned printed copy and key into Access
the answers 1-5 so that they can be counted later in a report. So, the
questions from the word document need to be saved in Access too at least once.
My pain points are
1. How do I get the reference numbers that are generated in Access onto the
word document that is stored on the server.
2. If I'm only storing the name and reference numbers in Access, how do I
store the questions and levels 1-5 for each question in Access?
Thanks,
Danny
John said:
I have no idea what you mean by "a canned survey".
From your first message it seemed that you wanted to extract data from
Word documents and get it into the database, but it now seems clear that
you just want to store the Word document containing the letter that is
sent out to the respondents, and then to enter the responses manually
later.
It's possible to store Word documents in an Access table using an OLE
Object field. This works reasonably well for a moderate number of
documents, but the way Access stores them causes the size of the
database to "bloat" out of all proportion and it's not suitable for
large numbers of documents. Often it's better to leave the Word files on
the server where they are, and to store just their names and locations
in the database.
Either way, it sounds as if you'll be sending out the same survey on
multiple occasions with different sendref#'s. In that case, if you leave
the documents on the server, all you'll need is a table to store
SurveyName
SendRef
(Although Access accepts characters such as # in field names, they make
things more complicated and it's best only to use alphanumeric
characters and underscores in the names of fields and other objects.)
If you envisage dissecting the Word documents and store their various
parts (logo, address, paragraphs, questions etc.) in the database so
they can be reassembled - it can be done, but it needs quite advanced
programming skills. If the documents vary in their layout and structure
it can get very complicated.
ok. The word document is a canned survey on the server. I need to import
this canned survey that has text and logos, address, body text and
[quoted text clipped - 36 lines]
Please respond in the newgroup and not by email.