Forms 11g OLE2 - Excel printing behind parameter Form.

When running excel report in Forms 11g, the excel opens behind the parameter form instead of taking over the screen thereby making the worksheet partially invinsible until the form is minimized. This is not the case with 10g Forms. Is this caused by webutil? is there a command that can send the form behind the workbook once excel open command is invoked? Your help will be appreciated. Thanks

If you were using OLE2 before and not an OLE canvas object, the code will basically be the same. There may be some changes needed if you originally wrote the code to support old Office versions, but that is due to changes on the MS side and has nothing to do with Oracle or Forms. There are several examples which can be found in MyOracleSupport (MOS) notes, but here is one example available on OTN. Although the example is for MS Word, the basic concept will be the same.
http://www.oracle.com/technetwork/developer-tools/forms/howto-ole-090332.html
Here is one of many MOS example:
How to Copy Records From Form Into MS Excel Using WebUtil? (Doc ID 247606.1)

Similar Messages

  • About OLE2 Excel programming

    How can I set the property 'PageSetup.Zomm' = False through an OLE2 Excel object in ABAP?
    I tried:
    set property of PageSetup 'Zoom' = 0 .
    set property of PageSetup 'Zoom' = 'False' .
    But doesn't work.
    How can I transfer a Boolean value to an OLE2 object?
    Thanks for any hint.

    If you review the Internet for this issue, you will see that MANY Windows developers have experienced the same issue.
    It appears that Microsoft has not allowed this parameter to set through OLE automation.  I would call it a "bug"... perhaps in the form of an oversight.
    One other way that I considered was to have SAP download a custom VB app that would be "fired" after the data was placed into Excel.  The app would use the Windows handle of the newly, created Excel instance and send it keystrokes to activate the Zoom. 
    Unfortunately, managing Windows handles across apps can be a pain.  So I did not write the VB app to do it.  I choose the simpler approach.
    Let me know if you come across any other findings.

  • Excel printing of web template

    Hi,
    I am in version 3.5. I tried to implement SDN How-To paper "How to Web printing Quickstart in SAP Netweaver ;04". Applied transports, and used ZWT_ADHOC web template to launch a report.
    When i try "Excel Printing", it doesn create bookmark URL, but nothing happens afterwards
    http://<server>/sap/bw/BEx?SAP-LANGUAGE=E&BOOKMARK_ID=48Z3ROGD8LEWRSC25UL6L35L2&device_class=ZXLS&format=XLS
    Anybody can help on this pls.
    Rgds
    KT

    Hi,
    Any inputs on this...
    If i copy the URL and launch in a new IE window, it works. But i cant able to launch from the report web template.. Any ideas..
    Rgds
    KT

  • Exporting Crystal Report data to the Excel Print Headers

    Hello everyone.  I am trying to do something with Excel headers that is a little more advanced than the usual.  I have multiple reports that are designed to export to Excel.  Normally I only export a report header.  However, I have a customer who wants a label to appear in each page header and footer in Excel. Here is the catch - they want the label to appear in the Excel print header and footer, not just on the main excel page.  The label contains an SBU marking, so there is a requirement that it gets printed on every page.
    If you are not familiar with the print header, it is a separate section of an Excel document that appears when you print the excel document.  For this operation, I don't think I can use the built-in Crystal Export options.  I have tried to Export to Microsoft Excel and I can send the page header and footer to the Excel data sheet, but not to the print header/footer. 
    Thanks for your help!
      - David

    Hi David,
    I haven't worked with Excel's headers and footers but you are correct that Crystal can't export to those sections.  I have though had to make modifications to an Excel file after exporting and I believe you will need to do something similar to what I did.
    After I exported the report to Excel, I had a program I wrote that opened the Excel file and modified it.  In my case I just had to encrypt it, zip it up and email it.  You may need to do something as well outside of Crystal and Excel.  Crystal doesn't export to an Excel template so automating it in Excel wouldn't work.
    Good luck,
    Brian

  • Excel Multi Value Parameter fails

    I have a stored proc that i pas through multiple values to one parameter. In SSMS this works perfectly. From excel i have a range of ids that i put into one cell as csv's. If i put 21 ids this works perfectly, if i exceed 21 i receive the following error.
    bad parameter type. microsoft excel is expecting....
    In ssms ive passed up to 2000 id's, and returned what i expected. Any thoughts on why exceeding 21 values in excel would cause an error? Thanks.

    Hello,
    According to your description, the stored procedure works well in the SSMS but failed in Excel query when pass multiple values to the parameter.
    The following thread is about a similar issue and it seems that there is a 255 characters limit if you execute the SQL Server stored procedure from Excel VBA.
    http://stackoverflow.com/questions/20731576/excel-microsoft-query-parameter-length-limit
    http://support.microsoft.com/kb/105416
    You can refer to the following thread to troubleshoot this issue:
    Getting around the Max String size in a vba function?
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Oracle WebADI: How to Download the WebADI Excel File with Parameter

    Hello Friends,
    How to Download the Oracle WebADI Excel File with Parameter??
    For Ex: How to download the Employees for Specific Department from Oracle WebADI.
    And After to change the specific changes on Employee Data to Upload.
    Thanks in Advance.

    Hi Team.
    Any Advise on it!!

  • Ssrs report export to excel along with parameter filters

    HI,
    In ssrs reports export to excel along with parameter filters,is it possible or not?
    Could you please help me..
    indu

    Hi Sriindu,
    According to your description, you want to export the report into an excel file with the report parameter and filters. And you want to filter data in excel. Right?
    In Reporting Services, the components for exporting report into a file called Reporting Services Rendering Extension. There are three types of Reporting Services rendering extensions: Data Render Extension,
    Soft page-break renderer extensions, Hard page-break rendering extensions. All these three extension are only for rendering data. It can't keep the filters and parameter in the report. Also excel can't support Reporting Services filter in
    an excel file. So your requirement can't be achieved.
    Reference:
    Exporting Reports (Report Builder and SSRS)
    Interactive Functionality for Different Report Rendering Extensions (Report Builder and SSRS)
    If you have any feedback on our support, please click
    here.
    Best Regards,
    Simon Hou

  • Use desformat=spreadsheet output Excel,print percent setting not 100%,why?

    In version 10.1.2
    use desformat=spreadsheet output excel,
    Open the excel file,and print view,the print percent lower 100%,
    how to set report file,make output excel print view 100%?
    thanks for any help!
    lind

    Be sure you put the heading the same size as your column because otherwise it will not insert the diffent columns in seperate columns in excell

  • Wireless printing behind firewall

    Greetings. Since upgrading to 10.5, I am no longer able to wirelessly print behind firewall unless I check "set access for specific services and applications" under system preferences/security/firewall (on computer allowing printer sharing). I would think that I could print after checking "allow only essential services," since printer sharing is on, and this shows in the list of "specific services" allowed. I was hoping that this would be solved after upgrading to 10.5.3, but it is not.
    This applies to all connected USB printers. Router is a Lyksys WRT54GS.
    Although probably unnecessary, I would prefer to use the more secure firewall setting ( "allow only essential services"). Any ideas would be appreciated.

    You need to have the right equipment. You have to put ISP equipment on the DMZ. What you need is an access point that resides on your inside internal network. This AP will associate clients and would place these clients on your internal network. Then you would configure your infrastructure to route the traffic how you wish. The reason you can't do what you want is that an ISP wifi router only has one route it knows..... That is what it knows from the wan port. So all traffic leaves the wan port via the ISP default gateway.
    Posted from my mobile device.

  • Excel printing slow

    Hi all,
    I'm using Macbook 2.53 with Snow Leopard 10.6.4. Everything is fine except MS Excel printing slow and after printing, I have to close then re-open the file in case I need to modify something in that Excels file because the printing job cause the very slow moving, select... Is it the common problem of Mac or particular mine? How to solve that problem? Please help. It's MS 2008 for Mac, was installed by dealer.
    I used many printer like HP, Canon... and it's also slow on printing preview. The printing preview quite small and can not adjust Margin like in Windows?
    Thank for any help!
    null

    Dummy post

  • New Ipad app supporting excel, printing and email.

    I am an agent/rep and I have a Excel spreadsheet as an order form. I need to enter a customers order while I am in their shop then print it via bluetooth and also email them their copy while I am in their shop (possible no internet or 3g network).
    What is the best app to get for compatibility of Excel which supports editing the file and emailing and able to print? The spreadsheet doesn't have any complicated formulas, just basic adding up.
    Does anyone have any ideas? Numbers, Office2 HD, Quick Office HD, Documents2Go? I don't know where to start, and don't want to waste money on an app which doesn't do the job.
    Thank you.

    Are you saying then that with Numbers or Office2 HD they will both support my needs as far as importing, editing, saving then emailing.
    Yes, any of them would work for such basic use. You'll want to read the feature set to see if any of them would offer additional features or options that you might find userul.
    it would be great if they could do a digital signature on the screen which would prevent the need to print a copy for them to sign. Do you know if any of the applications have this feature?
    I can't say with certainty that none exist, but I don't know of any of the Excel-compatible editing apps that also offer pen input. You might be able to do this in a sort of "two step" approach using one of the editing apps and an annotation app such as DocAS:
    http://itunes.apple.com/us/app/docas-annotate-pdf-take-notes/id437110885?mt=8
    Without using Dropbox or a similar service, though, I don't know how the passoff between the apps would or could work.
    Rather than using Excel spreadsheets, you might look into a database-type application such as FileMaker Go or an invoicing app. You might find something that would do what you need in a single app.
    Regards.

  • Setting cell into char in ole2 excel???

    I'am making a program that have an output in excel form. I use ole2. My problem is: i have difficullty in setting a cell into character or text. Because when i retrieve data : 0211 it will appear 211. I want the 0 also could appear. The only way to do it is to set the cell into char/text...and i dont know the what the syntax are...please could anybody help me....

    From my experience the best way to get a starting point is to record a macro and apply it to forms.
    In this case this would lead to a macro like this (I have Office 2003):
    Range("C1").Select
    Selection.NumberFormat = "@"
    That means you need a selection object and set the "NumberFormat" property to "@".
    Something like
    ole2.set_property(vselection,'NumberFormat','@');
    Gerald

  • Problem on OLE2 -- Excel

    Does anyone know how can I invoke a Macro in Excel from Form 6i or how can I format an existing excel worksheet form Form 6i?
    Please help ??

    And interestingly, the Excel Help indicates an additional key combo:  Control+Option+Enter
    I never knew about that one.  I've always used Command+Option+Enter, which seemed to make more sense to me because the Command key is in the same location as the Alt key on a PC keyboard so it's easier on my muscle memory.  No matter how much you think you know, one learns that RTM is ridiculously important with Microsoft products.

  • Application Build Failure on Excel.Print Report call

    Developing software in LV2009 that uses Report Generation Toolkit to read/write from Excel templates. Program runs fine in development mode. AppBuilder crashes on *.exe build when adding NIReport.lvclassrint Report.vi
    Digging down, I find a broken run arrow on the NI_Excel.lvclassrint Report.vi as shown here:
    According to the Show Errors dialog, there is an unwired or bad terminal on the PrintOut invoke node; however I have not made any changes to this shipping VI (that I know of). I did try wiring all the unused inputs (empty strings to From, To, and PrToFileName; false booleans to Preview, PrintToFile, and Collate) after I ran into the error, but that had no luck either. Also tried inserting To Variant conversions for all input elements, just in case there was a problem in the implicit data to variant conversion.
    I have also tried a ctrl+shift+run compile of the whole application, but that doesn't seem to get it to un-break, either.
    Has anyone run into this problem before? It's weird that it would just break like that--I had actually compiled this particular executable before, using pretty much all the same Report Generation Toolkit VIs that I am using now. The only difference since the last build was that I replaced a Report.SaveAs function with a Report.Save function.
    Also of note: I have included all the Report classes in my project and build specification in order to compile the dependencies into support libraries to minimize the number of labview files included with the executable distribution. This is probably why an error with the Print Report.vi calls is crashing the AppBuilder even when I don't explicitly call that VI anywhere in my code.
    Solved!
    Go to Solution.

    Hey Guys,
      I know this post if kind of old but I hope maybe one of you can help me out.  I'm using an invoke node similar to what is above to print out an Excel spreadsheet to the default printer.  My issue is that when I try to print from the spreadsheet from the executable, the executable crashes.  I know it is that invoke node. The reason why I say that is because until recently I had two development computers, one running on Windows 7 LabVIEW 2010, and one running on Windows XP LabVIEW2010.  The original .exe was built with the XP machine, when I tried to make some changes with the Windows 7 machine and open the project it would say that there was a missing connection to the invoke node even though I did not touch that part of the application. I would then remove the invoke node, add it again and it would clear the error for whatever reason. I would then build the .exe with the Windows 7 machine and when it would run, the application would crash at the point where it goes to print the spreadsheet.  I got around this by building the .exe with the Windows XP machine, and it worked fine without any issues. However, my Windows XP machine cra**ed out so i'm no longer able to build the .exe on the XP machine .  I needed to make some changes to the .exe not anything involving this section of the code and for whatever reason when the application goes to print it crashes.  I get some criptic crash report from Windows that is pretty much useless.  I think its a Windows thing. This was workign correctly though until I did a build on the Windows 7 machine.
    Attachments:
    Printout Invoke Node Excel.png ‏70 KB
    crash1.png ‏22 KB
    crash2.png ‏23 KB

  • Print Multiple Parameter Value in Crystal Report 2008

    Hello and Hi
    i want to select multiple warehouse  in a pramater , i select and report working but parameter print only first parameter  value on report.how can print all selected values on report

    Hi
    I am assuming you select warehouses  WH1,WH2,WH3,.......
    You have to create a formula in Crystal
    It should look like this
    Join({?YourParamaterName},",")
    Place the formula on your report.
    The last Part of the formula is the "notation break"  between every parameter returned. In this case a >   ,   <
    Return would be WH1,WH2,WH3,.......
    Join({?YourParamaterName},"#")  would return  WH1#WH2#WH3#.......
    Hope you get the idea
    If this solution helps, please rate me.
    Regards
    Burger

Maybe you are looking for