Hi,
This discussion seems to have been covered several times in many places, so I'm sorry if I've out this in the wrong place! I've been trying for a few days but no matter what code I use I cannot get it to work. I am very unfamiliar with code as I only set this DB up as a favour for work, never used a DB before and that was 6 years ago! I've fudged my way through and I know my DB isn't perfect, far from it, but it does what we need it to do, its just when I come to a problem like this it really throws me...
Basically, I have a report which gets printed every week and each page is each employees wages and work from the previous week, its a breakdown for them to check, and we now want to go over to emailing them, their actual wages slips will be emailed from Sage but they all require these details too. If I could just get the report to export to separate PDF docs, I can then add their email onto the wage slip as a hyperlink and email from there. Seems a bit of a faff but still easier and more environmentally friendly than printing, put in envelopes and sticking labels on!
If there is anyone who could help me with a simple code for dummies (that's me
) it would be very much appreciated.
I tried to attached a very slimed down version of the DB which includes the report and the query/tables related to it but it's too large, I have created a link if you can use that? -Link to my DB
I'm just not sure where I should be putting the code, in the query, in a form or in the report?? There are a few examples of code already in there which I have tried to adapt but as I don't really understand it I'm probably doing it all wrong.
Many thanks in advance
This discussion seems to have been covered several times in many places, so I'm sorry if I've out this in the wrong place! I've been trying for a few days but no matter what code I use I cannot get it to work. I am very unfamiliar with code as I only set this DB up as a favour for work, never used a DB before and that was 6 years ago! I've fudged my way through and I know my DB isn't perfect, far from it, but it does what we need it to do, its just when I come to a problem like this it really throws me...
Basically, I have a report which gets printed every week and each page is each employees wages and work from the previous week, its a breakdown for them to check, and we now want to go over to emailing them, their actual wages slips will be emailed from Sage but they all require these details too. If I could just get the report to export to separate PDF docs, I can then add their email onto the wage slip as a hyperlink and email from there. Seems a bit of a faff but still easier and more environmentally friendly than printing, put in envelopes and sticking labels on!
If there is anyone who could help me with a simple code for dummies (that's me

I tried to attached a very slimed down version of the DB which includes the report and the query/tables related to it but it's too large, I have created a link if you can use that? -Link to my DB
I'm just not sure where I should be putting the code, in the query, in a form or in the report?? There are a few examples of code already in there which I have tried to adapt but as I don't really understand it I'm probably doing it all wrong.
Many thanks in advance
Last edited by a moderator: