Search | Active Topics



The command or action 'OutputTo' isn't avaliable now Options
AndrewL
Posted: Wednesday, July 25, 2012 12:07:39 PM
Rank: New Poster
Groups: Member

Joined: 3/21/2012
Posts: 3
Location: United States
Hello all,

I have a database that has its backend on Azure and then I am using Sagekey to package the frontend up for distribution. I tested the "Sagekeyed" version on my computer and when I got to this area of code:

stdocname = "Cobra Report Step 0 XQX"
DoCmd.OutputTo acOutputReport, stdocname, acFormatPDF, PDFFullPath & "\A.pdf"

I got the error:

The command or action 'OutputTo' isn't avaliable now

The program works great normally (and by normally I mean the frontend and backend are together on our server) but the Azure/Sagekey version always stops at that code. I am no expert and did not know if maybe the DoCmd code is not allowable in SQL (I had to replace all the DLookups in the program) or if I did something wrong with the Sagekey process or something I am completely missing.

If anyone has any advice I would really appreciate it! Oh and before I forget the location that the program is trying to send the PDF file to is on our server.

THANK YOU!
Andrew
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

Forum theme created by Colin Olson, SageKey Software.
Powered by Yet Another Forum.net version 1.9.1.8 (NET v4.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.
This page was generated in 0.051 seconds.