Creating a word report , how to do this ?

Hi all ,
My first post . I have been working with PL/SQL for the last 3 months. I have a question in APEX. My application allows users to enter data .So once the data entry is done , I have to create a word document by clicking 'create ' button ' . How can I send the data to the word document ( I already have the format for the word document and have been able to generate a dummy word document when I click 'create' ) . The only thing left is to replace the dummy data which I have inserted in word document by the data from the user entries
Thank you every one ..

Both are blogs, and the first one is probably easier to understand and describes the process extremely well - best you ask for an exception in this case so you can do your job.
It uses a library that is also hosted here
http://code.google.com/p/plsql-utils/
It's a complex problem, so unfortunately it can't be described too simply - well, any more simply than Morten does in his blog.

Similar Messages

  • MS Word Reports-how to use bookmarks

    I am using the labview report writing tools to produce an MS Word report. I have produced several headings, information strings, tables etc. I need to use "Word Insert Object.vi" to place certain objects such as excel charts at certain places in the word report. This VI uses bookmarks in word to point at the right locations (the VI also seems incredibly limited in that it provides only a file reference as a source to obtain the object from - but no way of referring to which object in the file?? Does this mean I have to go to all the trouble to separate out my source objects to each reside in their own exclusive word doc? The documentation for "Word Insert Object" suggests you can extract objects from excel, but doesnt say how to identify the objects. Can anyone enlighten me?
    The only way I can see to set up the bookmarks in the word doc to send my objects to is to setup a template doc with the bookmarks and pagebreaks in place as a starting point before I use the labview report generation vis to place everything else. The objects insert quite happily at the required bookmarks (since the vi has an input which specifies the bookmark to use), but now everything else that used to form my title page, tables, text etc are pushed to the end of the template document (i.e. after all of the bookmarks and pagebreaks structured into my template). None of the other report generation vis (insert tables, text etc) seem to have any ability to point at bookmark locations.
    I can only hope for 2 possibilities here:
    1) that there is a way to make the non-bookmark capable vis jump to a certain location in the document (by forcing the cursor there somehow)
    2) that there is a way to programatically place bookmarks in the document as I write the various parts of it from labview, to which I can then insert objects at the end of the process.
    Can anyone enlighten me about the approach to use here?
    thanks
    Fred

    Hi Fred,
    Well to answer both of the numerated questions, I can think of two ways that would most likely fix your problem.
    1)  Find the activeX call that can place bookmarks or move the cursor in your word document.
    2)  Make a macro that can do the same thing.
    Has anyone in the community ever attempted this?
    Brian K.

  • In ALV report how to do this..

    Hi,
         I worte one zreport,  it displays the output in the Grid format.
         Goto tr code : coois-> give some material number u will get output in the grid format..->above the grid u will look the bar on that u will see  ENDUSER DOC, DISPLAY GRAPHIC, LAYOUT SETTINGS....
    My requirement is :  I have to add this bar to my grid report, please explain to me.
    Thanks and Regards,
    Surya

    Hi Jai.
    We can not display barcode in ALV but in Smartform  and Script is possible becuase we can set font "BARCODE" or any fonts to our variable.
    What you should do is create general ALV report ,Smatform for printing barcode and botton for call
    Smartform  in ALV program.When a line is selected and click botton then take data in that line and call
    Smartform for printing barcode that what I have done.
    Hope it help .
    SayC.

  • My cover image is bigger than the rest of the document created in word. How can I fix this?

    I'm working on creating an ebook. I created my cover in Canva and downloaded it as a jpg file. The rest is in word. When I combine the two into a pdf file though, the cover image fills the screen and the word document shrinks. The whole goals is to have everything the same size page since it will be read on ereaders. How do I fix this?

    Best and easiest fixed in Word. Place the JPG on a new page 1 of the Word document, scale it there.

  • In SSMS after creating the query Report, how to export excel the same report from SSMS

    for Beginners in SSMS after the report is created , how to export the same report to excel, I did try the option to task and export and follow the procedure, this procedure does not export the same report, the one was created, unless I am missing some steps,
    is there a way to do just like we do in SSRS go to solution explorer, and properties and add the Target Server URL or not
    in SSMS, 
    after I save the report it saves in project , can some one please guide me how to do it, and what steps I am doing wrong,
    any help will be great.  I am not technical person, just starting to learn from internet.
    thanks in advance.

    As you have said you are not a technical person try using Import Export wizard.
    Refer this link
    http://www.mssqltips.com/sqlservertutorial/203/simple-way-to-import-data-into-sql-server/
    And another simplest one is to copy the result set from the query window. Right click the result and select "Copy with Headers".
    Regards, RSingh

  • Version count in statspack report-How to reduce this

    I generate stats report every week for 24 Hr time period and analyze all top20 queries interms of buffer gets,physical reads and executions.I could tune the queries with the help of you.Recently my Boss asked me to look in to top version count queries and reduce the number of versions.
    I have 4-5 queries which are running 300,000 times and has version count of 35.How can I reduce this number.please suggest me how to approach it.
    Your help will be appreciated.Thanks in advance.
    Thanks
    Anand

    Version count 35 out of 300000 doesn't look like a problem to me. Are you having performance issue on your system at all?
    <br>
    <br>
    1. Are the subject queries using Bind variables ?<br>
    2. What's the setting of CURSOR_SHARING?<br>
    should have CURSOR_SHARING=FORCE<br>
    3. check if Bug 3406977 apply to your case <br>

  • Delete  'button' on report how to do this?

    Hi,
    I have a requirement to implement a 'delete' button on a report, but cannot find out how to do it. I found the following site which does exactly what I want, but cannot get to the code to see how the author has done it can any one assist please?
    http://apex.oracle.com/pls/otn/f?p=40323:32:689305137368050
    Thanks inadvance.

    Hello:
    Let's assume your report query is something similar to
    select empno,ename from emp
    You do the following
    In the Column Attributes for report set the column-link for the 'empno' column to redirect to a URL
    Set the URL to be
    javascript:doDelete(#EMPNO#);
    Create a button named 'DELETE'. Set the button to submit the page and branch back to the same page. Set the button's condition to 'Never'
    Create a page-item named 'P1_EMPNO' of type hidden
    Create a 'On Submit' pl/sql page process that is conditional on the 'DELETE' button with the following code
      delete from emp where empno=:p1_empno;Add the following javascript in the HTML header <script>
    function doDelete(empno) {
       if (confirm('Delete employee ' || empno)) {
          $s('P1_EMPNO',empno)
         doSubmit('DELETE')
    </script>varad

  • In how many ways we can create new document and how to implements this ways?

    I found that we can create new document by 3 ways
    1)by using session object of application ,document list as follow
    InterfacePtr<IApplication> firstdoc(GetExecutionContextSession()->QueryApplication());
              InterfacePtr<IDocumentList> docList(firstdoc->QueryDocumentList());
      docList->NewDoc(25089,IDataBase::ProtectionLevel.kProtectSave, nil);
    but in this case i am not getting how to use newdoc method i.e which parameter we have to pass(not even clear from API reference )
    2)by using command
    InterfacePtr<IApplication> firstdoc(GetExecutionContextSession()->QueryApplication());
              InterfacePtr<IDocumentList> docList(firstdoc->QueryDocumentList());
      InterfacePtr<ICommand> new1(CmdUtils::CreateCommand(kNewDocCmdBoss));
              UIDList asd(docList);
              new1->SetItemList(asd);
              CmdUtils::ProcessCommand(new1);
    3)bu using some util or facade interface
    Utils<IDocumentCommands>()->New( . . .)
    in this case also  i am not geeting how to use new method 
    I try all this method but none of them working .i knew i am doing some mistake  in all these method so please correct me where i am wrong .
    Main problem is in the first parameter of newdoc method i.e what is class id how to use them 

    1. add to your project "SDKLayoutHelper.cpp", "SDKLayoutHelper.h"
    2. #include "SDKLayoutHelper.h"
    insert code:
    do{
             SDKLayoutHelper helper;
             UIDRef docRef = helper.CreateDocument();
             if (UIDRef::gNull == docRef)
                 break;
             helper.OpenLayoutWindow(docRef);
        }while(kFalse);
    Regards!

  • How to scan using HP Officejet 4620 create Microsoft Word file how add Word from computer

    Unable to find option to add, install Microsoft Word ( docx) to HP Officejet 4620 Scan.   Need to scan documents to create Word docx file.  Also concerned about Word file size acceptable to email. 
    Dell printer AIO has option to easily add applications as Microsoft Word for scan but not found with HP.
    Searched but did not find solution.  Such as simple question but takes hours and maybe a fee to find answer.

    Hi @Frederickoe8 
    If I understand correctly, you are trying to scan and open the scan file using Word. When you open the scan software, choose Everyday Scan, then under File Type, you can change the file format. If you select Rich Text, the saved scan can then open in Word. As for the scan size and concern with emailing the scan, make sure you do not set the dpi too high as the higher the dpi the larger the file size.
    I hope this helps. 
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • Request in cube is not avilable for reporting, how to trace this in chain?

    Hello,
    We have cube that gets the delta daily.
    Some day, some body did full load and its failed.
    Regular process chain delta load were sucessfull but they never turned reportable since the previous full load was failed.
    Since we have not received any failure notification.
    Is there way we can find if the request is not reportable to get notification>?
    I have checked the avilable process types, it looks like we need to build custom process type.
    Please advice.
    Cheers
    Angelo

    Hi Angelo,
    If the full update is run via a process chain then you can configure for that chain that if the load fails you get an email notification,
    in the setup of the email notificaton you could make a reference to the target cube and then at least you know that if you don't fix this issue subsequent requests will not be available for reporting in the cube.
    Best Regards,
    Des

  • New note created "On My Mac" - how to stop this?

    Whenever I create a new note in Mail.app, by clicking on the "compose new note" button in the toolbar, it creates the note "On My Mac", which means it doesn't sync to MobileMe, and therefore to my other Macs and my iPhone.
    Is there any way to change this so that new notes (or new anything in Mail.app) is always created in MobileMe?

    Yes, Preferences, then Composing, then select Create Notes and To Dos in MobileMe.

  • Prevent this page from creating additional dialog..How to disable this dialog box

    i know to solve this problem by going about:config and to correct it,but i want to know whether is there any other way to block this dialog box. How all the user of my application will follow that ?

    A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.
    *http://forums.mozillazine.org/viewforum.php?f=25
    The helpers at that forum are more knowledgeable about web development issues.<br>
    You need to register at the MozillaZine forum site in order to post at that forum.

  • Starting my iMac always starts Word. How to stop this?

    It also opens a new template. I don't want any programma to open automatically when I switch on my Mac.

    Is the "Reopen Windows when logging back in" checkbox ticked?

  • Word report with template

    Hello,
    i want to create a word report with template in my vi. I have made a word .dot with bookmarks and my customer should modify it. It look like this:
    Test number: [bookmark/Test number]
    User: [bookmark/User]
    Serial number: [bookmark/Serial number]
    Error: [bookmark/Error]
    Comment: [bookmark/Comment]
    Date: [bookmark/Date]
    Greetings XY
    How can I get this result?
    Test number: 12345
    User: XY
    Serial number: 1
    Error: No
    Comment: First
    Serial number: 2
    Error: Yes
    Comment: Second
    Serial number: 5
    Error: No
    Comment: Third
    Serial number: 9
    Error: Yes
    Comment: Fourth
    Date: 01.01.2006
    Greetings XY
    The data is in tables and strings. The beginning and end of the word report is quiet easy. The difficulty is the middle part it can be consist of different numbers of items.
    How can I made this?
    thankyou
    schwede

    That is ok, but if I do so the result would look like this:
    Test number: 12345
    User: XY
    Serial number: 1
    2
    5
    9
    Error: No
    Yes
    No
    Yes
    Comment: First
    Second
    Third
    Fourth
    Date: 01.01.2006
    Greetings XY
    Do You know what I mean?
    Message Edited by Schwede on 04-03-2006 12:22 AM

  • Shared object and different application servers - how to resolve this issue

    Dear SDN Members,
    We are occuring a big problem. We create a shared object in a program and after we call in an another one. In central system architecture, it is working well. But on a distributed architecture (4 application servers), we have a dump some times. In fact, the read of the shared object can be occured in the AS 4 but the share object has been created in AS1.
    How to manage this problem to avoid this dump ?
    Dupplicate the shared object in the application servers ?
    Encapsulate different calls with RFC link to only one AS ?
    Any parameters on server or share objects ?
    Thanks a lot for your help,
    Points will be given to right or good answers.
    Br,
    Aurélien

    What is the dump you are getting ?
    AFAIK, "Shared Memory"(SHM) is an area defined in the app server. I am not sure if you can access SHM of a different app server (as in your case trying to access SHM of AS1 from AS4). [http://help.sap.com/abapdocu_70/en/ABENSHARED_MEMORY_GLOSRY.htm]
    In this case you can opt for "DataBase Clusters". Relevant ABAP statements: [IMPORT|http://help.sap.com/abapdocu_70/en/ABAPIMPORT_MEDIUM.htm#!ABAP_ALTERNATIVE_4@4@]/[EXPORT|http://help.sap.com/abapdocu_70/en/ABAPEXPORT_DATA_CLUSTER_MEDIUM.htm#!ABAP_ALTERNATIVE_4@4@] FROM/TO DATABASE.
    Hope this helps.
    BR,
    SUhas

Maybe you are looking for

  • How to run jdbc:odbc driver for MS Access in Beam Managed Persisten Entity

    Hi friends, I like to know how to access an MS Access Database using a BMP Entity Bean. I like to know how the connection is established. Can we use the Class.forName(). I'd like to recieve the 3 to 4 line code. :) Please Help Thank YOu!!

  • Xserve G5 Video Quirk

    Well, I finally got my Xserve G5 up and running, which was an Ebay "spares or repair" job which I resurrected. It has an ATI Radeon 9200, which has both a DVI and VGA output, so I hooked up my 20" Cinema Display, and going into the display settings s

  • IPhoto Slideshow images disappear.

    I have been exporting images from Lightroom to iPhoto in order to show slideshows with Apple TV.  However, after a week or so, I lose all the images from the slideshow file.  I have set the image file size as high as possible when I export to iPhoto.

  • How to i get rid of my 30day trial numbers after purchasing same from apple store

    i found the 30 day trial for numbers useful  purchased numbers from app store i now have two sets of numbers  could anyone please advise how i get rid of the 30 day trial without taking out my purchased numbers   many thanks for your time

  • Problem when call rfc using function control

    i try to call rfc using functin control but error "wdtfuncs error '800a03eb' Fail to call Remote Function Module" be popuped. my code like that: Set objSAPFunction = Server.CreateObject("SAP.Functions")           Set objSAPFunction.Connection = objSA