Access, Azure and OutputTo problems

alevin16

New member
Local time
Today, 00:17
Joined
Jan 17, 2012
Messages
5
Hello Everyone,

I am a novice programmer but I am trying to take an Access 2010 project I created and put the backend on Azure (and then I want to use Sagekey to create an installation package for the front end). So far it works fine except in one area when the program hits this line "Docmd.OutputTo, acOutputReport, Document name, acFormatPDF..." I get the error "The command or action 'OutputTo' isn't avaliable now"

Does anyone have any idea as to what I am doing wrong? :banghead:
 
Shot in the dark warning. Do you have the necessary quotes around the report's name?

Docmd.OutputTo, acOutputReport, "Document name", acFormatPDF...
 
Hello and thanks for the quick reply! I just doublechecked and I do have the quotes. I ran another test and a regular Access preview of another report ran fine (the preview popped up). I am wondering if it has something to do with the destination of the PDF I am creating. ON the non-Azure version (the backend and frontend are both in regular access) the reports are output to a folder on a server and it works fine. Do you think Azure/Sagekey has a problem with locally linked folders?
 

Users who are viewing this thread

Back
Top Bottom