Inserting an Excel file into a BLOB field

Inserting an Excel file into a BLOB field

I have insert a Excel file (.xls) into a BLOB field (Ooracle 9i database under NT). How can I read it with Forms 6.0? I tried the next procedure but nothing appears.

    Requires Free Membership to View

    By submitting your registration information to SearchOracle.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchOracle.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

This should be done via placing an OLE Container object on your form and giving it the appropriate properties to point to your Excel file. There are some nice demos available in Forms help that should be of value for you to review.

Basically, Forms can be used to access any product (like Excel, Word, etc) by placing the OLE container object on your canvas and then setting the properties for that object to use the Microsoft Excel application class. Once this is complete, the form is able to interact with and control the spreadsheet programmatically, as well as allowing the end user to activate the OLE container and interact directly with Excel (i.e. when you double-click on the container, the application's menus and toolbars change to be Excel's menu and toolbars and you work with the spreadsheet just like you were in Excel).

It's a bit difficult to be more detailed here, but as I mentioned above, several great examples of this technique can be found by clicking on Forms Help and looking up OLE. Hope this helps!

For More Information


This was first published in August 2002

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.