H
hughess7
Hi all
We have a report that is produced manually in ms word, at the moment there
is a standard template per country (different translations) and our staff
complete the word document by inserting their findings from an audit. There
is a mixture of tables and text currently, the word doc is chopped and shaped
manually and data inserted into relevant places, or deleted if not required
etc. Sometimes different paragraphs of text need inserting depending on the
results of the audit, at the moment both paragraphs exist and the auditor
deletes one of them.
This is obviously very time consuming, open to errors etc. Some of the
results of the audit are actually stored in an Access database but the
process is completely manual and there is no link between them.
What we want is for the report to be totally driven by Access without the ms
word doc ever getting edited directly, and being able to reproduce the report
at any time (by modifying the data in Access if necessary) and pressing the
button to run the report again. It just is not possible to create this type
of report in Access itself as you can not insert the results amonst
paragraphs of text formatted correctly (ie numeric, percentages, currency,
dates etc), all in alignment - nightmare!
So... Using a mail merge facility I have managed to create a datasource in
Access by the means of a query, pressing a button in Access creates the
report from a word template and prints it direct to PDF (without saving as a
word doc so it can not be edited this way). There is one template per country
and Access selects the correct one from the current record (countrycode). So
far so good...
Now the next challenge is how to deal with the 'optional' text - in
particular the paragraph headings, bearing in mind they are in different
languages too. I can create a record and present the user a form in Access to
capture all the extra info that is currently missing, but how would I create
the section headings in the word doc (in the appropriate language) and make
sure the correct text appears below it? Also, some data only needs to appear
in a table in word if it is above a certain threshold ie 100, if below it is
not displayed on the report.
For example we have sections of the report called Issues, Administration,
Reception etc and they may require comments or they will need excluding from
the report if not, depending on the audit findings.
Sorry this is quite complicated and very difficult to explain! Any ideas
most welcome thanks!!
Sue
We have a report that is produced manually in ms word, at the moment there
is a standard template per country (different translations) and our staff
complete the word document by inserting their findings from an audit. There
is a mixture of tables and text currently, the word doc is chopped and shaped
manually and data inserted into relevant places, or deleted if not required
etc. Sometimes different paragraphs of text need inserting depending on the
results of the audit, at the moment both paragraphs exist and the auditor
deletes one of them.
This is obviously very time consuming, open to errors etc. Some of the
results of the audit are actually stored in an Access database but the
process is completely manual and there is no link between them.
What we want is for the report to be totally driven by Access without the ms
word doc ever getting edited directly, and being able to reproduce the report
at any time (by modifying the data in Access if necessary) and pressing the
button to run the report again. It just is not possible to create this type
of report in Access itself as you can not insert the results amonst
paragraphs of text formatted correctly (ie numeric, percentages, currency,
dates etc), all in alignment - nightmare!
So... Using a mail merge facility I have managed to create a datasource in
Access by the means of a query, pressing a button in Access creates the
report from a word template and prints it direct to PDF (without saving as a
word doc so it can not be edited this way). There is one template per country
and Access selects the correct one from the current record (countrycode). So
far so good...
Now the next challenge is how to deal with the 'optional' text - in
particular the paragraph headings, bearing in mind they are in different
languages too. I can create a record and present the user a form in Access to
capture all the extra info that is currently missing, but how would I create
the section headings in the word doc (in the appropriate language) and make
sure the correct text appears below it? Also, some data only needs to appear
in a table in word if it is above a certain threshold ie 100, if below it is
not displayed on the report.
For example we have sections of the report called Issues, Administration,
Reception etc and they may require comments or they will need excluding from
the report if not, depending on the audit findings.
Sorry this is quite complicated and very difficult to explain! Any ideas
most welcome thanks!!
Sue