Chitoparadais
New member
- Local time
- Today, 05:57
- Joined
- Mar 20, 2021
- Messages
- 15
Hello!
This is the first thread that I open.
I have a database (Access) from which I am doing, very often, a PDF report of the activity of each of the staff members (there are constant changes).
I publish that report in PDF in the cloud (Google Drive).
The uncomfortable thing is that I have to do several steps to generate the report:
1. First I export the reports to .RTF
2. Later, I open them in Word, to give it a better format than Access offers, through a macro.
I would like to find a way to do it directly from Access.
Searching a lot, I have found a way:
1. Create a temporary file (HTML), which I format;
2. Add the HTML text to a Word document;
3. Save it, with a dialog box, in pdf.
The problem I have is that:
1. It only includes the first recordset of the query.
2. There is an error in the way to save it directly to PDF.
I would really appreciate if you can help me.
I attach the code that I am working on.
This is the first thread that I open.
I have a database (Access) from which I am doing, very often, a PDF report of the activity of each of the staff members (there are constant changes).
I publish that report in PDF in the cloud (Google Drive).
The uncomfortable thing is that I have to do several steps to generate the report:
1. First I export the reports to .RTF
2. Later, I open them in Word, to give it a better format than Access offers, through a macro.
I would like to find a way to do it directly from Access.
Searching a lot, I have found a way:
1. Create a temporary file (HTML), which I format;
2. Add the HTML text to a Word document;
3. Save it, with a dialog box, in pdf.
The problem I have is that:
1. It only includes the first recordset of the query.
2. There is an error in the way to save it directly to PDF.
I would really appreciate if you can help me.
I attach the code that I am working on.