Getting size of image in forms 6i [message #584725] |
Fri, 17 May 2013 02:39 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
dev_777
Messages: 32 Registered: June 2010
|
Member |
|
|
I have a form that loads an image. Before storing the image on the database, I want to verify the size of the image. If the image is 0kb, I want to pop up a warning message and fail the load into the database.
I am using Forms 6i Version 6.0.8.23.2
|
|
|
|
|
|
Re: Getting size of image in forms 6i [message #584873 is a reply to message #584861] |
Mon, 20 May 2013 02:26 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
dev_777
Messages: 32 Registered: June 2010
|
Member |
|
|
I would have to use UTL_FILE.FOPEN first before using UTL_FILE.GET_LINE.
I want to do the file size check at form level ie. image is loaded into the form using READ_IMAGE_FILE. I doubt UTL_FILE.GET_LINE would work as I would have to assign the directory path where the image is stored.
|
|
|
|