Iamrickdeans
Registered User.
- Local time
- Today, 11:26
- Joined
- Apr 8, 2013
- Messages
- 29
Hi Everyone,
It's been a while since I posted but I have inevitably hit a brick wall with my re-learning of Access and I am stumped, perplexed, smacking my head off the wall trying to work out the solution (which I feel as soon as it's pointed out I am going to kick myself for)
I am using the built in Access macro editor to run a number of reports which are called for arguments sake ClientPartA, ClientPartB etc...
My macro so far simply opens on a button click each of these reports and populates a number of text fields (all this is working fine)
Where my problem lies is I then want to export each of these reports to a central network location
"L:\Operations Database\Projects\1042\Outputfile\
I have been using the command 'ExportWithFormatting'
and have filled out the macro element with;
Object Type: Report
Object Name ClientPartA
Output Format: PDF Format (*.Pdf)
Output File: L:\Operations Database\Projects\1042\Outputfile\
Auto Start: No
Template File (no info)
Encoding (no info)
Output Quality Print
Now all my data is pulling from a form called 'Client' and the field 'RecipientsAccountNumber'
I thought I would be able to export the file(s) as PDF with
the output file being written as;
Output File: L:\Operations Database\Projects\1042\Outputfile\ Forms![Client]![RecipientsAccountNumber] & " - ClientPartA"
saving the form to the named directory as '300300300 - ClientPartA'
What in reality is happening is it's saving the file to the named directory not as a PDF and with the file name of 'Forms![Client]![RecipientsAccountNumber]
I cannot fathom it, any help massively appreciated! Any further details required I will happily supply!
Thank you in advance,
Richard
It's been a while since I posted but I have inevitably hit a brick wall with my re-learning of Access and I am stumped, perplexed, smacking my head off the wall trying to work out the solution (which I feel as soon as it's pointed out I am going to kick myself for)
I am using the built in Access macro editor to run a number of reports which are called for arguments sake ClientPartA, ClientPartB etc...
My macro so far simply opens on a button click each of these reports and populates a number of text fields (all this is working fine)
Where my problem lies is I then want to export each of these reports to a central network location
"L:\Operations Database\Projects\1042\Outputfile\
I have been using the command 'ExportWithFormatting'
and have filled out the macro element with;
Object Type: Report
Object Name ClientPartA
Output Format: PDF Format (*.Pdf)
Output File: L:\Operations Database\Projects\1042\Outputfile\
Auto Start: No
Template File (no info)
Encoding (no info)
Output Quality Print
Now all my data is pulling from a form called 'Client' and the field 'RecipientsAccountNumber'
I thought I would be able to export the file(s) as PDF with
the output file being written as;
Output File: L:\Operations Database\Projects\1042\Outputfile\ Forms![Client]![RecipientsAccountNumber] & " - ClientPartA"
saving the form to the named directory as '300300300 - ClientPartA'
What in reality is happening is it's saving the file to the named directory not as a PDF and with the file name of 'Forms![Client]![RecipientsAccountNumber]
I cannot fathom it, any help massively appreciated! Any further details required I will happily supply!
Thank you in advance,
Richard