G
Guest
Hi
I am trying to use the Report to PDF function by Stephen Leban. I've kind of
got it working but a few probs:
1. The system produces the PDF in the correct path and filename but it
crashes Access every time after creation. I use Access 2003, I assume this
shouldn't crash?
2. a. I pass a date field for the path creation. I am having problems with
the date format, if I pass month([field]) it works ok taking the numerically
form but I want the month as text. strMonth = Format(month([ReportingDate]),
"mmmm") assumes January (the date is 01/09/07) instead of September as I am
in the UK.
I have tried using the # literal character to change the formatting but this
just puts #January#. Can anyone please give me the correct syntax?
b. It seems as though the folder has to already exist in Windows for this to
work. I was hoping it would create the folder if it didn't exist - is this
possible?
Kind Regards
Sue
I am trying to use the Report to PDF function by Stephen Leban. I've kind of
got it working but a few probs:
1. The system produces the PDF in the correct path and filename but it
crashes Access every time after creation. I use Access 2003, I assume this
shouldn't crash?
2. a. I pass a date field for the path creation. I am having problems with
the date format, if I pass month([field]) it works ok taking the numerically
form but I want the month as text. strMonth = Format(month([ReportingDate]),
"mmmm") assumes January (the date is 01/09/07) instead of September as I am
in the UK.
I have tried using the # literal character to change the formatting but this
just puts #January#. Can anyone please give me the correct syntax?
b. It seems as though the folder has to already exist in Windows for this to
work. I was hoping it would create the folder if it didn't exist - is this
possible?
Kind Regards
Sue