Home » Developer & Programmer » Forms » READ_IMAGE_FILE issue (Oracle forms 10g, Windows)
READ_IMAGE_FILE issue [message #493521] Tue, 08 February 2011 09:36 Go to next message
infosuresh2k
Messages: 77
Registered: September 2009
Location: CHENNAI, INDIA
Member


Hi,
I have an image file like below, this image file name contains one spanish letters(í)

Image file name -> San Valentín.JPG

I am using the below line in the when-button-pressed trigger of the form to read above image file, but this is not working,
after pressing the button, image field(CTRL_BLK.IMAGE_ITEM) is blnak.

if i use some other image file which is not having spanish letter(í) then it works fine, any idea about this issue.

READ_IMAGE_FILE('\\xyz\images\San Valentín.JPG', 'JPG', 'CTRL_BLK.IMAGE_ITEM');

Regards,
Suresh.V
Re: READ_IMAGE_FILE issue [message #493526 is a reply to message #493521] Tue, 08 February 2011 09:48 Go to previous messageGo to next message
cookiemonster
Messages: 13938
Registered: September 2008
Location: Rainy Manchester
Senior Member
First guess - your DB character set doesn't support spanish characters.
Re: READ_IMAGE_FILE issue [message #493539 is a reply to message #493526] Tue, 08 February 2011 10:10 Go to previous messageGo to next message
infosuresh2k
Messages: 77
Registered: September 2009
Location: CHENNAI, INDIA
Member

Thanks you so much for your quick reply,

We are using spanish charecters in our reports and forms those are fine it is displaying as expected...but only READ_IMAGE_FILE is not working.

Regards,
Suresh.V
Re: READ_IMAGE_FILE issue [message #493577 is a reply to message #493539] Tue, 08 February 2011 14:48 Go to previous messageGo to next message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Maybe it is not a Spanish character, but space between "San" and "Valentin". Try to rename it to "san_valentin.jpg".
Re: READ_IMAGE_FILE issue [message #493650 is a reply to message #493577] Wed, 09 February 2011 04:08 Go to previous message
infosuresh2k
Messages: 77
Registered: September 2009
Location: CHENNAI, INDIA
Member

Hi,

I have removed space between San Valentín still it is not working.

If i remove spanish letter(í) and rename the file name like below then it is working fine.

San Valentin.JPG (in this i removed spanish letter(í) and put english letter(i) í-->i)

But below image file name having spanish letter(í), this is not working.

San Valentín.JPG

Regards,
Suresh.V
Previous Topic: how we can sum data with out commit command in forms
Next Topic: ON-insert vs Commit
Goto Forum:
  


Current Time: Thu Sep 19 12:04:26 CDT 2024