Report does not render image when using DoCmd.OutputTo to PDF

Hello All.... and Happy new year !!!
I have a form that has an embedded report and a series of cmd buttons to print the report or export it to file and saves it.
In the report I have an Image object (a logo) that is in the header.
When I print the report to a printer or a PDF printer the image is present.
When I use DoCmd.OutputTo the report is properly exported to PDF and saved but the image is not present.
I've tried playing with the ExportQuality, the "fit to page", etc... but nothing seems to get it working.
here is the vba I use 
'Open the report as hidden to filter the data
DoCmd.OpenReport reportToExport, acViewPreview, , filterReportBy, acHidden
'if we show the report
If (booSeeFile) Then
'export to pdf to save and autostart
DoCmd.OutputTo acOutputReport, reportToExport, acFormatPDF, filepath, vbYes
Else
'export to pdf to save
DoCmd.OutputTo acOutputReport, reportToExport, acFormatPDF, filepath
End If
Any help would be great !

given that you've gone 12 hours with no reply; I generally don't have any problem with the logo going from the Report object to the PDF export.  When a report is opened on screen - right click - and one of the choices is 'Export To' and one of those
choices is 'PDF or XPS' - - - just try that as a sanity check....
there are 2 kinds of image controls - I can't remember off hand their formal name but one has the image embedded permanently inside the report object and so this one should go to the PDF.....the other type is a file link to the image for which the advantage
is that image can be dynamically changed on the fly.  This second type probably will not appear in an export as the file link is probably broken....
hope this helps a little......
 

Similar Messages

  • Report does not come up when called from Forms

    I have installed Oracle 9i database and dveloper suit on my pc. When I run reports from forms, the report does not come up. I have Adobe Acrobat reader 6. The report does get created, I can see it in the cache directory.
    It created an error file, I am posting the begining of this file here.
    Please help.
    Thanking you in advance.
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x65553878
    Function name=Java_oracle_reports_engine_EngineImpl_CGetEnv
    Library=C:\orahome1\bin\rw90.dll
    Current Java thread:
         at oracle.reports.engine.EngineImpl.CGetEnv(Native Method)
         at oracle.reports.engine.EngineImpl.getEnvs(EngineImpl.java:453)
         at oracle.reports.engine.EngineClassPOATie.getEnvs(EngineClassPOATie.java:152)
         at oracle.reports.engine.EngineClassPOA._invoke(EngineClassPOA.java:205)
         at oracle.reports.engine.EngineClassPOA._invoke(EngineClassPOA.java:62)
         at com.inprise.vbroker.poa.POAImpl.invoke(POAImpl.java:2355)
         at com.inprise.vbroker.poa.ActivationRecord.invoke(ActivationRecord.java:104)
         at com.inprise.vbroker.GIOP.GiopProtocolAdapter.doRequest(GiopProtocolAdapter.java:492)
         at com.inprise.vbroker.IIOP.ServerProtocolAdapter.doRequest(ServerProtocolAdapter.java:64)
         at com.inprise.vbroker.GIOP.GiopProtocolAdapter.dispatchMessage(GiopProtocolAdapter.java:653)
         at com.inprise.vbroker.orb.TPDispatcherImpl$TPDispatcher.run(TPDispatcherImpl.java:99)
         at com.inprise.vbroker.orb.ThreadPool$PoolWorker.run(ThreadPool.java:76)

    Hi ,
    Looks like this is not a Forms side problem or even a Reports Servlet problem
    Some guesses.
    From the exception
    at oracle.reports.engine.EngineImpl.CGetEnv(Native Method)
    at oracle.reports.engine.EngineImpl.getEnvs(EngineImpl.java:453)
    it looks like engine crashing. Did you see the server GUI up and running ? Server might not have started
    Give
    rwserver server=<server_name> in command line.
    The server GUI should come up and show "ready "
    You have multiple Oracle Homes on the same machine. So this could be a PATH problem.
    1) Go to ControlPanel -> System - Advanced - Env variables - System Variables
    Copy the IDS specific PATH to clipboard
    Go to iDS_HOME\bin\ and open a command window. Set only the above PATH here. Start a standalone server
    rwserver server=<server_name>
    and try
    (If this works you could write a batch file later)
    2) For trouble shooting purposes use a different server name to start the standalone server.
    3) Also look in your registry
    HKLM\Software\Oracle\Home<x>\
    Here please see whether you have any "very long" environment variable (say more than 256 chars or 512 chars).
    This is just a guess.
    4) To confirm this is not a Reports servlet problem
    give
    rwclient report=<report_name> + ..... <server=server_name>
    If you get same error, then it is not a servlet problem. It could be that Reports server is crashing
    Thanks
    Ratheesh
    [    All Docs     ]
    http://otn.oracle.com/documentation/reports.html
    [     Publishing reports to web  - 10G  ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
    [   Building reports  - 10G ]
    http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
    http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
    [   Forms Reports Integration whitepaper  9i ]
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf

  • Safari on my account does not display images when you open a picture.

    I have Snow Leopard 10.6.8 installed. Safari on my account does not display images most of the time when you open a picture like (www.example.com/example/example.jpg or any other format). If the image does not display, I can drag from the corner, it displays the image. However, pdf does not work at all. I have to choose open in Preview to view the pdf file. I can even show the example:
    Sometimes the images work like right now.
    2. This is the time when the images do not work.

    Hi all the real problem was this...
    The issue was that the wee rubber eye piece around the viewfinder had slipped out of its seat slightly and was covering the sensor for the LCD. I Just checked the rubber eye piece bit  pushed right down till it clipped into place and now not obstructing the LCD sensor as the picture displays both with the LCD auto off enabled or disabled !! simple thing but a massive trap !

  • My touch pad does not work only when using Safari browser. The screen was grey. Help!

    My touch pad does not work only when I use Safari browser online. The screen was grey. No matter what I do, there is no reponse. Only the web address box works. What is this problem? I can use App Store and everything else fine.
    Someone please help.
    Thanks

    I would try:
    - Resetting the iPod:
    Reset iPod touch:  Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - Go to Settings>Safari and delete cache, history and cookies.

  • Report window does not close properly when using openDocument

    XI R2 InfoView
    Windows 2003 server
    IIS
    IE7
    We have been experimenting with the use of openDocument and have managed to achieve what we wanted but have one small problem.  When the document is retrieved it is opened in a new browser window.  When Close is selected from the drop-down Document menu the document is closed but the window shrinks to approx 8.5cm x 6 cm and remains open.
    A similar thing happens when we use the Preview button to view a document in the CMC, except in that case the document does not close and closing the browser window leaves a button on the Windows taskbar.  There doesn't appear to be a related window as it cannot be restored but you have to right click and select Close to get rid of it.
    Any ideas what is causing these problems and how we can get round them?

    Anne,
    There are some parameters in opendocument (for ex. sWindow) that can help control certain things, have you tried employing anything like that?  What I find frustrating is the behavior of opendocument based on whether you're running Infoview or WebI -- each product, using the same exact opendocument syntax yields different results.  Based on the sample code below, what I'm seeing with Infoview is the same browser instance is used for calling the child report, however, in WebI, a new browser instance is started and the child report is rendered in Infoview.  In my case, when running within WebI and getting a new browser instance in Infoview, and then using the "Document", "close" workflow, the second instance is exiting and I'm back to the previous browser.  Staying within Infoview entirely through the process, when closing the child report I get brought back to the folder list page.  Who's to know?
    ="<a href=https://<server>/businessobjects/enterprise115/InfoView/scripts/opendocument.aspx?
    idocid=100798&lsSInput_Pos_Nbr="+[Position Number Tracking]+">"+[Position Number Tracking]
    +"</a>"
    (double spaced on purpose)
    Thanks,
    John

  • REPOST:Timing does not show up when using custom templates

    all,
    When I create an unstructured template and use it in a report with show timing set to true, the timing does not show up.
    any tips

    Correcting my previous reply,
    Timing will NOT show if you are using custom template.
    null

  • Report does not display correctly when exported to adobe

    Post Author: mgisonda
    CA Forum: Crystal Reports
    Hopefully someone can help me. I am currently running Crystal Reports profession version 10. I have applied service pack 1 and recently service pack 6. I am having a problem with the display of a report within adobe. My report is a bit complex. It is a 8.5x11 one page landscape report. It is set up in a grid format with multiple lines and boxes drawn on it. Here is the report information: Report Definition----
    Number of Database Fields:   144     Number of On-Demand Formulas:   40     UFLs in use:   None     Page N of M Used:   No     File Format Schema:   10.2.0    I created the report using CR developer. I use the report within a web project. The user requests the report and it returns to the user, an adobe file of the report. However, this is where I am having trouble. On my local development machine, the report displays fine. In CR developer, the report displays fine. When I export the report to Adobe from the CR Developer, it exports fine. BUT when I run the report from my web site, the adobe file that is returned is broken up over 42 pages. What seems to be actually happening is the return adobe file seems to think that the page size is 2in X 4in.. Where it got that, I don't know.The server running IIS is a windows server 2003. It has adobe 8.0 reader on it. I also have Crystal 10 Server Distribution loaded on it. And I have loaded CR10 Service pack 6 on that as well. Below is the web code that is used to display the report:Imports CrystalDecisions.Shared'Imports CrystalDecisions.CrystalReportsImports CrystalDecisions.CrystalReports.EngineImports CrystalDecisions.CrystalReports.Engine.ReportClassPublic Class PrintInspectionLayout    Inherits System.Web.UI.Page   Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load        Dim mNotInSpringDesign As String        Dim mPartType As String        mNotInSpringDesign = Request.QueryString("NotInSpringDesign")        If mNotInSpringDesign = "TRUE" Then            mStockCode = Request.QueryString("StockCode")            lblNotInSpringDesign.Text = "Stock Code #: " & mStockCode & " does not exist in Spring Design."            lblNotInSpringDesign.Visible = True            Response.Write("<br><br><br><br><br><font color='blue'><center><a href='SpringDesignWildCardSearch.aspx'>Go To Search Page</a></center></font>")        Else            mStockCode = Request.QueryString("StockCode")            Dim pList As ParameterValues = New ParameterValues            Dim paramName, paramValue As String            Dim pV As ParameterDiscreteValue = New ParameterDiscreteValue            Dim Report As ReportDocument= New ReportDocument            Dim expOpts As ExportOptions = New ExportOptions            Dim pdfRtfWordFormatOpts As PdfRtfWordFormatOptions = expOpts.CreatePdfRtfWordFormatOptions            Dim expFormatOpts As ExportFormatOptions = expOpts.ExportFormatOptions            expOpts.ExportFormatType = ExportFormatType.PortableDocFormat            mPartType = Request.QueryString("PartType")            'SELECT THE INSPECTION LAYOUT TYPE TO PRINT            Select Case mPartType                Case Is = "C"                    Report.Load(MapPath("./Reports/CompressionLayout.rpt"))                    'Report.Load(MapPath("./Reports/PCAR.rpt"))                Case Is = "E"                    Report.Load(MapPath("./Reports/ExtensionLayout.rpt"))                Case Is = "T"                    Report.Load(MapPath("./Reports/TorsionLayout.rpt"))                Case Is = "W"                    Report.Load(MapPath("./Reports/WasherLayout.rpt"))                Case Is = "F"                    Report.Load(MapPath("./Reports/FreeFormLayout.rpt"))                Case Else            End Select            pV.Value = mStockCode            pList.Add(pV)            Report.DataDefinition.ParameterFields("StockCode").ApplyCurrentValues(pList)            Response.ClearContent()            Response.ClearHeaders()            Response.ContentType = "Application/pdf"            Report.ExportToHttpResponse(expOpts, Response, False, "")            Report.Close()        End If    End Sub    Any ideas as to the solution? Why is it not displaying correctly? I have spent two days researching every FAQ  to try to find an answer, but to no avail. Please any help would be greatly appreciated. ThanksMike   

    Hi Paul
    You're more likely to get an answer to this if you post in the UNIX forum.
    By the looks of it, you may have a problem with your fonts.

  • Report parameters when using DoCmd.OutputTo

    OK,
      Thank you one and all for answering my last question. I have another one. OK, I can set the report's parameters using the where clause part of the DoCmd.OpenReport. Great! But I also save that report as a text file using the following command
    DoCmd.OutputTo acOutputReport, "rptSalesInvoiceEntryWineShip", acFormatTXT, strInvoicePath & Me.txtInvoiceNumber & ".txt", False
    Unfortunately, there is no where clause part available!! OK, any ideas here. thanks!!
    Ed Cohen
    Edgar Cohen

    The other way to do this, which avoids having to open the report in print preview, is to base the report on a query which references a control on a form (presumably the txtInvoiceNumber control in your case), as a parameter.
    As it happens there is a demo file which does exactly this, using a simple invoicing database as the example, as InvoicePDF.zip, in my public databases folder at:
    https://skydrive.live.com/?cid=44CC60D7FEA42912&id=44CC60D7FEA42912!169
    You might have to copy and paste the text of the above (not copy the link location) into your browser; for some reason it sometimes doesn't seem to work as a hyperlink.
    As its name suggests this creates a PDF file of the invoice, which is primarily what the demo is for, but it will work just the same if outputting to a text file.
    Ken Sheridan, Stafford, England

  • Struts Portlet does not show images when it is accessed outside the domain

    Hi all,
    I am using Oracle 10.1.2. I have created a Struts portlet. When I view the struts portlet from my office domain (University domain) it works well and shows the images properly. However, if I try to access the same page containing the struts portlet from some other domain (my home), I cannot see the images and CSS associated with the page. This might be a firewall issue. Is there any way out?
    Best regards,
    Omer

    I fixed the problem.  (YAY!)
    It was the way I embedded the files -- the Dreamweaver default does not work properly so I used the embed from this generator: http://www.bobbyvandersluis.com/swfobject/generator/index.html#alternativeContentHelp which now lets my navbar and swfobjects load properly.  I also made sure that my slideshow (loader.swf) was set with wmode = opaque while the navbar is set to wmode = transparent.  The div for the nav bar has z-index set to 5 while the div for the slideshow has z-index set to 1.  Both have absolute positioning.  I hope this helps anyone in the future that has trouble with overlaying flash (.swf) files.
    Thanks for your reply and trying to help me solve this issue!

  • JSP not displaying images when using filter .....

    Hi there,
    I have a very strange problem. My Jsp page works fine when I call it directly without using the filter which checks if a user is logged in.
    But when I try to hit some other URL, the filter intercepts the request and redirects to the login page in exactly the same way using response.sendRedirect(). But the page does not load the CSS or the images.
    any idea why?
    Sameet

    First, what mage does not load the CSS or images, login page or the page you were trying to go to.
    How are the images and css loaded in the jsp.
    I use something like this
    <img width="38" height="38" src="<c:out value='${pageContext.request.contextPath}'/>/images/omniManager/sunlogo_box_.5in.jpg" align="middle"/>I've had the same problem you are describing before... it turned out that in my struts config I had my forwards path incorrect. I had path="/standardInput.jsp" instead of path="/jsp/standardInput.jsp" (this is my login page)
    Don't know if this helps.. but it has to be the way you are generating the paths in your jsp. try just outputing the path to the screen and see what it is when it doesn't work.. then figure out how it gets set to that.

  • IPad Air does not appear online when using "Find my Phone"

    Curious why my iPad Air appears "offline" in the Find my Phone app when it is in sleep mode.  All of my other devices (iPhone 5 & iPhone 4) both appear online (and on the map) even though they are sleeping. 
    All devices are running ios7 and are connected to the same wifi network.

    Hey there MntnBikeCT,
    It sounds like you have the iPad Air setup with Find my iPhone but you are not able to locate with the app on a different device, but other devices work just fine. I suggest these steps from the article named:
    iCloud: Troubleshooting Find My iPhone, iPad, iPod touch, or Mac
    http://support.apple.com/kb/TS4006
    "No location available," "Offline," or "Location Services Off" alerts
    This can occur if:
    The date on your device is incorrect. Choose Settings > General > Date & Time to check and set the date.
    Your iOS device is currently off or not connected to a data network (Edge, 3 or 4G, or Wi-Fi). Wait a few minutes and try again.
    Your iPad (Wi-Fi only), iPod Touch, or Mac is currently off or not connected to a Wi-Fi network.
    Location Services is not enabled on your iPhone, iPad, or iPod Touch (Settings > Privacy) or on your Mac (Date & Time) preferences. Learn more about Location Services on your Mac:
    OS X Mountain Lion or later
    OS X Lion
    You are located in a country where Apple does not offer this feature. This feature may not be available in all countries due to technical limitations or local law.
    Thank you for using Apple Support Communities.
    All the very best,
    Sterling

  • What does $ (NOT $_) mean when used by itself?

    For replacing User attributes with values of other attributes of that same User, I discovered the following script online:
    get-aduser User1 -pr supvid, manager | %{set-aduser -identity $_.samaccountname -Replace @{SupvID=$(get-aduser ($_.manager) | %{$_.samaccountname})}
    I have 2 questions about the script:
    1. What does the "$" mean when used outside the parenthesis - "$(get-aduser...)"
    2. Is this the best way to replace attributes with the values of other attributes for an object?

    Hi,
    Here's an example that will illustrate the benefit of the subexpression operator:
    $user = Get-ADUser User1
    Write-Host "Here's without a subexpression: $user.SamAccountName"
    Write-Host "Here's with a subexpression: $($user.SamAccountName)"
    As for your second question, I'd go about what you're doing like this (really just because it's easier to read, IMHO):
    $user = Get-ADUser -Identity User1 -Properties Manager
    $supvID = (Get-ADUser -Identity $user.Manager).SamAccountName
    Set-ADUser -Identity $user -Replace @{SupvID = $supvID}
    Don't retire TechNet! -
    (Don't give up yet - 12,700+ strong and growing)

  • Album Art does not show up when using shuffle.

    When I turn on shuffle in my 80gb Classic the album art does not show up.
    It is about 50/50 some songs will show art and some will not. The art that did not show up the last time I shuffled will show up this time. It is not consistant. When I am not in shuffle the art always shows up just fine.
    Anyone having this problem? Any ideas on how to stop this from happening? Thanks, Robert

    You might also recreate your iTunes library on your computer... and then when you connect your iPod you should be presented with a dialogue asking you to erase & sync the iPod. Click the erase & sync button (provided your songs are still in iTunes).
    Here's how to recreate your library:
    http://support.apple.com/kb/HT1451
    CG

  • Tiger's Preview application does not antialias images when zooming

    On windows when you double click an image and zoom in it uses standard bicubic interpolation to give the magnified image a natural look.
    In OS X, when images are magnified in Preview the pixels are magnified 1:1 which gives a horrible pixellated look. On some images clicking "actual size" gives a non 100% scale rendition too.
    Is there any hack or trick to let preview magnify images normally or better?
    It's weird, you'd think some uat tester would have noticed the pixellated zoom and just changed the magnification algorithm.

    In ~/Library/Preferences/com.apple.Preview.plist, there is an entry called
    Root->Preview->PVImageHiResDrawingInZoomInMode
    which is set to zero by default. Change it to 1, save and restart finder. This should enable interpolation. It seems to work OK but no promises - they must have turned it off for a reason (it's actually pretty rubbish compared to the windows one and for some reason not as good as the one used in slideshow mode?!).
    Message was edited by: chris_R

  • Dashboard does not work properly when using Word

    This problem occurs persistently. If I am typing something in Word and want to switch over to my Dashboard to use the dictionary or write on a stickie note, two things may happen. If the widget is already selected and ready to be used, then nothing will happen and I can use it properly. However, if I want to click on multiple widgets, then my dashboard will quickly slide over and go back to Word as if I had chosen to exit Dashboard. This only happens when I use Word. Why is this happening and how do I fix it??
    It is frustrating to try and type something in Word, go to my Dashboard to use the dictionary, only to be flung back to Word. The only found remedy is clicking on the desktop and then going to the Dashboard to use my widgets.

    I opened my Word for Mac 2011, opened a document, and Then opened my Dashboard on top of that and used the Dictionary to look up a definition, and changed the month on the Calendar widget, and changed my stock graph interval.  It all worked just as it was supposed to: fine.  You apparently have a corrupted file somewhere.  I do not know where.
    Hope this helps

Maybe you are looking for