Home » Developer & Programmer » Forms » Clear OLE container (Forms 6i)
Clear OLE container [message #307623] Wed, 19 March 2008 05:26 Go to next message
Messages: 204
Registered: January 2008
Location: Beirut - Lebanon
Senior Member
I have an OLE container which I need to empty when I insert a new record without deleting the object. This is an Internet Explorer object in which I load a PDF file. When a file is loaded in this object and when trying to load another one by inserting a new record, the first always appears in the object. I want to clear this object to insert a new file.
I tried to use the CLEAR_ITEM procedure, but that didn't work!!

Any suggestions??

Thank you!

Re: Clear OLE container [message #307778 is a reply to message #307623] Wed, 19 March 2008 18:59 Go to previous message
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Have you considered using 'web.show_document' to display the pdf document?

Please post your code.

Previous Topic: ".WORLD" throwing error (DBLinks)
Next Topic: Problem when insert new record
Goto Forum:

Current Time: Thu Oct 27 17:45:33 CDT 2016

Total time taken to generate the page: 0.10641 seconds