thisisanemergency
Registered User.
- Local time
- Today, 09:20
- Joined
- Oct 25, 2012
- Messages
- 13
I have searched extensively for a solution but have not come across anything that explicitly refers to my issue and so I've not been able to resolve thus far.
I have a query that is filtered through a selection on a combo box and the result populates a report. This works perfectly.
I have a button that exports the resulting report to PDF format and saves it to a SharePoint document library. This also works perfectly.
My challenge is to:
\\portal\site\doclibrary\variablefoldername\CRF_variabledocname.pdf
where: variablefoldername = value of "DocSetName" and variabledocname = "CRF_" + value of "DocSetName".
I'm using Access 2010 and VBA.
Any ideas?
I have a query that is filtered through a selection on a combo box and the result populates a report. This works perfectly.
I have a button that exports the resulting report to PDF format and saves it to a SharePoint document library. This also works perfectly.
My challenge is to:
- Set the PDF document name to the value contained in a field called "DocSetName" in my query and include the prefix "CRF_". The value of "DocSetName" is unique for each record.
- Set the save location to the correct folder in my document library, the name of which is also determined by the value of the "DocSetName" field in my query.
\\portal\site\doclibrary\variablefoldername\CRF_variabledocname.pdf
where: variablefoldername = value of "DocSetName" and variabledocname = "CRF_" + value of "DocSetName".
I'm using Access 2010 and VBA.
Any ideas?