Home » Developer & Programmer » Forms » Removing an Image from Data Block (Forms 10g)
Removing an Image from Data Block [message #454961] Sun, 09 May 2010 00:50 Go to next message
ReuWekIa
Messages: 2
Registered: May 2010
Junior Member
Hi All,

While there's numerous QAs about inserting an image into the DB using the Data Block, how does one remove an image?

Obviously there's the "UPDATE ... SET X = EMPTY_BLOB();", however, that kills the Data Block/Form's flow, and it doesn't update.

I've tried a few things:
* :CONTROL.IMG1 := NULL; (bad bind variable)
* :CONTROL.IMG1 := EMPTY_BLOB(); (some other error, probably as above)

Any ideas?

Thanks,
Reu
Re: Removing an Image from Data Block [message #455066 is a reply to message #454961] Mon, 10 May 2010 01:31 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Have you tried using 'clear_item'?

David
Re: Removing an Image from Data Block [message #456210 is a reply to message #454961] Sun, 16 May 2010 01:29 Go to previous message
ReuWekIa
Messages: 2
Registered: May 2010
Junior Member
Hi,

Thanks I'll give it a try.

Regards,
Reu
Previous Topic: read_image_file problem 92101 [10g]
Next Topic: URL report server path
Goto Forum:
  


Current Time: Fri Sep 20 09:31:58 CDT 2024