MS Word documents in forms/oracle database

How does one store a word document in the database. Should be able to store the binary file and be able to retrieve it by launching MS word. Can we use BLOB. If so how to store a file into a BLOB column and how to retrieve that when required in forms 6i?
I do not want to use OLE.
Any help will be greatly appreciated.
TIA,
Tapas

Use long raw datatype. And use OLE concepts through application
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Unknown:
If u have a solution, let me know, I am also facing the same problem
Regards
<HR></BLOCKQUOTE>
null

Similar Messages

  • How integrated word document in forms 6i

    there is the possibility of integrated a word document in forms 6i?

    You can embed and OLE object like Word into Forms but this is a client/server only solution.
    Take a look at the online help for OLE and OLEobjects.
    Regards
    Grant Ronald
    Forms Product Management

  • Open word document in forms version 6

    Does anyone have a code snippet to open an existing word document through forms. I have a user document which I would like to open from my forms menu.

    hello,
    Try use HOST command to open Words and your document. It works fine for me on Excel.
    sample :
    declare
    Path varchar2(100);
    file varchar2(50);
    begin
    path:='c:\program files\microsoft office\office\excel.exe ';
    file := 'o:\ssd\tools\albook.xls';
    path:= path &#0124; &#0124; file;
    host(path);
    END;
    null

  • Automatically complete a word template using the oracle database

    I have a Microsoft office word template and I would like to automatically complete some fields using data from my Oracle 10g database. For example where I have the text “Dear Mr.” I want to get the name of that person from a table in the database. Also by pressing a button in Oracle forms I want to open the word document to see the result. Any ideas how to do that? Thank you.
    Message was edited by:
    Flomaster

    Hello,
    There are lot of code pertaining to your requirement(OLE) in forms forum,a search will give you the required code.
    Regards
    Mohan

  • Viewing word documents through forms

    Hi Guys,
    I am using forms 10g and webutil to transfer documents (only word
    documents are working now, pdf isn't. Don't know why
    yet) from the client machine and storing them in the
    database tru forms. How can I view the stored document
    tru forms? The column data type is BLOB.
    Regards,

    Francois,
    I looked at that paper and it helped me greatly in getting my file transfer to work to upload files from the client to the database (BLOB column). I looked over the information on the webutil_docs dialog but I am not sure I understand how to implement the feature to allow users to edit files that have been stored as BLOBs. Can you give a quick and dirty recipe for getting this set up? Is it a standard part of the webutil package?

  • How load from MS Word document data to Oracle?

    Hello,
    if anybody have any idea of how to load data from microsoft word document data field by field to oracle database, instead of doing through the mailmerge. we have word documents which will have descriptions, titles, financial data for different years say for example from 1 to 10 years data in this case how can i load directly from document to oracle database? I appreciate your inputs.
    Thanks so much....

    Hi,
    Although I use client_ole2 from the webutil package to go the other way i.e load oracle data into a word document, im sure there will be a client_ole2.get_* command to get the value of a field code from a document.

  • Create/Edit Word documents from Form 6 in the web

    How can I create/edit Microsoft Word documents from a form running under IAS.
    In client/server I can do it using OLE2.

    On the Web the OLE2 option would still work if your Forms server is on a windows machine with word on it. The files will be created on the server and you can get them to the client with the web.show_document built-in.
    If you want to create them on the client machine directly you need a Java bean that will activate the COM interface.

  • Storing/Editing Word Documents in Forms 6i

    Has anyone done this in 6i ?
    Apparently, the only solution is to write some JavaBeans. Has anyone done this and are there any samples that would allow us to do this other than the samples on Technet as unfortunately they do not help much.
    It seems as though this is a fairly common request so I am hoping that someone has done it and will be able to help.
    Thanks in advance for any help on this issue.
    Andy Penver

    Thanks,
    I think it is better to use LOB's instead of LONGRAW in 8.1.6 ?
    Can you edit formatted text (WORD document) if it is stored in a CLOB or BLOB datatype.
    Has anyone got any pointers to examples of storing formatted text and being able to edit it.
    Thanks
    Andy
    null

  • Word Documents and Forms 6

    Hi.
    I have spent the past three weeks reading forums and doco's from
    anywhere and everywhere on the web, and am battling to come up
    with a proper solution to my problem.
    I am currently storing office documents in a BLOB field in an 8i
    database. I use an OLE container bound to the BLOB field in the
    database to insert these documents from the client into the
    database using a forms 6 form, and this seems to be fine. Where
    the problem comes in is being able to retrieve these documents
    from the database and display them as an icon on a form so that
    users of my system will be able to edit and download these
    documents which are stored in the database. I want to allow them
    to click on the icon (which is a link to the document in the
    database) which will then launch the appropriate office product
    and allow them to do whatever they have to from there.
    Are there any suggestions as to how I can acheive this? I am
    really stumped here, and any help here would be greatly
    appreciated.
    Thanks.
    Craig.

    Is there proper ole documentation oracle provides for such types
    of problems , we are also suffering from the same(OLE & WORD
    INTEGRATION) problem and are not getting the proper soln.
    Calling oracle support for help as many peoples are suffering
    with the same problem
    ...Waiting ...

  • Problems inserting a Word doc in an Oracle database

    Hi folks...
    I have a method that successfully inserts a .gif file into an Oracle 8i database table that has a column that accepts files of the type BLOB. Below is part of it to give you an idea:
    db.conn.setAutoCommit(false);
    File file = new File(imageFile.getPath());
    FileInputStream fis = new FileInputStream(file);
    File mydoc = new File(imageFile.getPath());
    FileInputStream fid = new FileInputStream(mydoc);
    PreparedStatement pstmt = db.conn.prepareStatement("INSERT INTO blob_table VALUES (?, ?)");
    pstmt.setString(1, mydoc.getName());
    pstmt.setBinaryStream(2, fid,(int)mydoc.length());
    pstmt.executeUpdate();
    pstmt.close();
    fid.close();
    blob_table has two columns only: first is a VARCHAR2 for the name of the file, second is a BLOB for blob files.
    When I tried using the same method to insert a word doc it doesn't work.
    Can anyone tell me why? And if you have sample code that does what I want to achieve can you share it?
    Thanks!

    Thanks for your reply.
    When I insert .gif files JDeveloper ends with a message saying "Process exited with exit code 0". I then go and check in the database and I find the image added to the table.
    With a word doc, JDeveloper does not give that message. No message at all regarding what the status of the process is. And the document is not added to the database. No error messages too. Could this be an issue with Oracle?

  • Word document in forms 6i

    Hi,
    I need to open a word template when the user selects a template from the list box. The template is having bookmarks and I need to pass the field values into those book marks when the user opens the template. Then, the user should be able to edit, save, print the template and when he closes it, he should be able to come back to the application. In the background I need to save the word template in the database.
    How to do this?
    thanks,
    anuradha

    You can embed and OLE object like Word into Forms but this is a client/server only solution.
    Take a look at the online help for OLE and OLEobjects.
    Regards
    Grant Ronald
    Forms Product Management

  • Converting a Word document with form fields to become a form fillable PDF file with email

    We are trying to convert a number of word(97,and 2000) documents but it never works correctly. The converted PDF file is missing fields and the fields it does convert is one character long. The idea was to have LiveCycle just convert it without anyone having the need to re-design it. They would only need to add a submit button and an email address to the PDF form. Is there something we are missing?

    For the problem of submitting by email and still submitting a PDF file:
    The stock "Submit by Email" button submits via XML. I think you can do one of two things to get it to work:
    1) Use a regular "Button" instead of an "Email Submit Button". Set it's type to "Submit" in the Field tab; then on the Submit tab, use something like "mailto:name@company" for your email address in the Submit To URL box, and set the Submit As type to PDF.
    2) Change the XML for your Email Submit button (in the XML Source view): You'll find something like,
    <event name="event__click" activity="click">
    <submit format="xml" textEncoding="UTF-8" target="mailto:name@company"/>
    </event>
    Change it to:
    <event activity="click" name="event__click">
    <submit format="pdf" textEncoding="UTF-16" xdpContent="pdf datasets xfdf" target="mailto:name@company"/>
    </event>
    I don't know if you need to change just the "Submit format" in the XML, or also add the xdpContent tag.
    Hope that works,
    Mike

  • How to open a  Word document in forms

    Hi all ,
    I need to open a document( MS Word) while clicking a button from forms.Will u please help me to do that ?
    Regards,
    Nycy

    CLIENT_HOST will only help you if the file is accessible from the client's filesystem. If you put the documents on the server there are three options:
    1. Transfer the file to the client everytime if should be opened using WEBUTIL_FILE.AS_TO_CLIENT lets say to c:\temp, then open it using CLIENT_HOST as provided by Francois.
    2. Share the directory on the application server to that it can be accessed via UNC-path like \\server\document.doc and use CLIENT_HOST directly on the network dirve
    3. Create a virtual directory in the application server and map it to the physical directory where the doc's are located, then you can access the documents via URL and can use WEB.SHOW_DOCUMENT instaed of CLIENT_HOST.
    hope this helps.

  • How read word document in form from server's filesystem?

    I want develope an application using client/server framework:
    In server's filesystem hold a variety of files,for example, .doc,.xls,.pdf,information about these files(for example,file type,file name,file summary) hold in a table,as well as file pointer hold in the table by BFILE datatype.How user open these file from client use client's program design by oracle forms?
    thanks for your help!
    my email :[email protected]

    TLF doesn't have a generic HTML importer. There is one that works with the html used by TextField. To use it, try something like this:
    var htmlString:String =  '<p>Paragraph here</p>';
    var textFlow:TextFlow = TextConverter.importToFlow(htmlString, TextConverter.TEXT_FIELD_HTML_FORMAT);
    - robin

  • PARALLEL WORK IN AN OPENED WORD DOCUMENT AND FORMS 9i

    Hello,
    Our customer want to have an enhanced integration of the Forms application and
    MS Word. Currently, he opens an existing Word-file from a Forms form, MS Word
    opens, he edits the Word file, closes it, and goes back to the Forms
    application.
    The point is, that while the Word file is being opened, he wants to be able to
    go back to the Forms application do some necessary things, and then go back to
    MS Word where his word file is "waiting". Actually, he needs the possibility to
    switch between Forms 9i application and MS Word.
    The integration with MS Word is being done using WebUtil 1.0.6. The call to MS
    Word is done using WEBUTIL_HOST.blocking. I also tried to call MS Word using
    CLIENT_OLE2-Procedures but again I'm not able to go back to the Forms
    application.
    Is it somehow possible or is there any workaround how to enable the "parallel"
    work in Forms application and MS Word?
    Thank,
    Dimce

    Hi Dimce,
    Okay. approach in the right direction. In order to get forms to wait executing the trigger code while in non-blocking mode, create a callback scenario. This is out-of-the-box webutil functionality (please read the webutil manual for details).
    In short,
    1) create a callback trigger at forms level
    2) move all code that fires after you call MS Word to the call back trigger. This code is then executed whenever MS Word is calling back to forms.
    3) use webutil_host.nonblocking_with_callback instead.
    Regards,
    Harm

Maybe you are looking for

  • FCE not capturing footage

    I am using FCE 3.5.1 on a G5 Dual Processor using OX 10.4.10. I can not capture video to FCE from my two Sony DV cameras. FX1 and TRV 22. This just started after years of no problems. I have pulled preferences and reinstalled FCE several times. But t

  • How can i get a downloaded plugin to work in logic pro x?

    i tried to put massive into logic pro x but i cant get it to work! ive insertet it to the folder plug-ins, components which everybody told me to do but i cant find it in logic once i did that! Please help me!

  • Where to place .ini file?

    Hello All, I have a file "trap.ini" now where i should this file so that properties.load(new FileInputStream("trap.ini")); should be able to read it. m i making any mistake?

  • Wireless internet trouble

    After getting our new iBook, we decided to get a wireless router for wireless internet. First, we got a D-Link DI-624, which constantly disconnected and reconnected by itself and which we soon stopped using. We tried it with multiple firmwares, and w

  • SRDemoSample Vs SRDemoSample ADFBC

    can anyone tell me where is the difference between these two samples? does it have to do with the model layer?...thanks in advance Message was edited by: John hates caps-locks