Home » Developer & Programmer » Forms » Clear OLE container (Forms 6i)
Clear OLE container [message #307623] Wed, 19 March 2008 05:26 Go to next message
rajy_salim
Messages: 204
Registered: January 2008
Location: Beirut - Lebanon
Senior Member
Hey!
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!

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

Please post your code.

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


Current Time: Sun Feb 09 21:59:09 CST 2025