Check the point of the Image

Hello world

I have the point of the image as an element of database into my forms 6i application, how can I check if the image element is null or not? because I have a button to delete the image, and I want to make this active button only if there is an image in the image element.

IF: Image_Item IS NULL THEN... END IF; is not... any idea?

Thank you very much



Best regards
Damien

you want to test this field if it is null or not... How can I implement this?

Ali El - Hal pls try the following...

---- if u fetch the image first into a variabel IN WHEN-BUTTON-PRESSED Trigger as follow

SELECT ur_image_item

INTO : XYZ                   -- same data type

FROM ur_tabel_name

WHERE  EMP_ID =:EMP_ID;

-- Then make ur validation

IF  : XYZ IS NULL THEN

DELETE_RECORD;

END IF ;

I hope this helps...

Kind regards

Abdetu...

Tags: Oracle Development

Similar Questions

  • How to check the image source for the image which is losted?

    Hello world

    How to check the image source for the image which is losted?

    If the image source already exists, I can read the PlaceItem.file.fsName.

    But if remove the image of the source, read the PlaceItem.file.fsName will report the error: there is no file associated with this element

    Thank you

    If (app.documents.length > 0) {}

    var sourceDoc = app.activeDocument;

    sourceName = sourceDoc.name var;

    artItem =]

    for (i = 0; i < sourceDoc.pageItems.length; i ++) {}

    artItem [i] = sourceDoc.pageItems [i];

    If (.) TypeName artItem [i] == 'PlacedItem') {}

    If (.imageColorSpace [i] artItem == undefined) {}

    Alert ("the file is the link, but I don't know whether or not the source image is losted");

    }

    }

    }

    }

    Use try/catch to catch the error

    if (app.documents.length > 0) {
        var sourceDoc = app.activeDocument;
        var sourceName = sourceDoc.name;
        artItem = []
        for (i = 0; i < sourceDoc.pageItems.length; i++) {
            artItem[i] = sourceDoc.pageItems[i];
            if (artItem[i].typename == 'PlacedItem') {
                if (artItem[i].imageColorSpace == undefined) {
                    try {
                        var fname = artItem[i].file.name;
                        alert("file name: " + fname);
                    }
                    catch (e) {
                        alert("The file is linking ,but source image is lost");
                    }
                }
            }
        }
    }
    
  • Check the disk recovery image it is stuck at 56%

    I created the Recovery Manager recovery discs and the process stopped at 56% when checking the image of a disk after you create it! I let it sit for more than an hour and he sits up to 56%!  I was wondering should I cancel the process or wait and so if she does not change and I have to cancel I will be able to restart the process or is this my only chance presence it say that you cannot create more than one set of recovery discs!

    my computer is a HP Pavilion dv6 notebook pc windows 7 Home premium 64-bit

    Usually, if the process does not properly complete, you can start no later than. HP can even send a free statement if you tell them that your software is unable to create the whole. Access to worldwide here contact information >

  • When I go to Amazon (music section), cd titles are there but not the image of cd cover. If I use explore photos are here. Why?

    When you use Firefox as your browser, if I go to amazon.com and search for a particular cd, the title and all the other info on the cd came but there is no cover image. This problem has just a few days ago everything was going well for in recent years - but now there is no picture on almost anything. If I use Explorer as browser and do the same research, photos are all there, as it should. What happens here?

    See http://kb.mozillazine.org/Images_or_animations_do_not_load

    It is possible that you clicked on 'Block Images' from the context menu in an attempt to save an image.

    Check the image exceptions: Tools > Options > content: Load Images: Exceptions

    See web content, pop-ups, fonts and language settings

    • A way to see what images are blocked is to click on the favicon (Site ID icon) on the left side of the address bar.
    • Click on the "More information" button opens the Security tab of the "Page Info" window (also accessible via "tools > Page Info").
    • The Media of the "Page Info" window tab.
    • Select the first image and scroll though the list with the arrow pointing downwards.
    • If an image in the list is grayed out and there is a check mark in the box "block Images of..." and remove this mark to unlock the images from this area.
  • I opened MY Facebook id and I get my photos of friends from my mistake I don't know who im key press + photos going to hide how I is new im trying to come back, but I never see still photos im click on the image, but im can not show me

    I opened MY Facebook id and I get my photos of friends from my mistake I don't know who im key press + photos going to hide how I is new im trying to come back, but I never see still photos im click on the image, but im can not show me

    This has happened

    Don't know how many times

    is 2 days befor

    It is possible that you clicked the 'Block Images' item in the context menu by attempting to save an image.
    Check the image exceptions: Tools > Options > content: Load Images: Exceptions - see the web content, pop-ups, fonts and language settings

    A way to see what images are blocked is to click on the favicon (Site ID icon) on the left side of the address bar.
    Click on the "More information" button opens the Security tab of the "Page Info" window (also accessible via "tools > Page Info").
    Go to the tab Media of this "Page Info" window.
    Select the first image and scroll though the list with the arrow pointing downwards.
    If an image in the list is grayed out and there is a check mark in the box "block Images of..." and remove this mark to unlock the images from this area.

    See also the problems that cause to not show images and http://kb.mozillazine.org/Images_or_animations_do_not_load

  • Check the development of an Image with Standard of LABVIEW functions

    Hello

    I want to determine the best quality of the development of a series of color images using features standard LABVIEW, an example my images would be KING of coins in copper or similar sample 2 mm x 1 mm. I do not have the Toolbox IMAQ vision, so this will not be an option. Could someone give me an example of this or point me in the direction I must go. Is it better to check the quality of the focus on the image of color or black and white image or perhaps a representation of the intensity of the image? I heard that the gap checking type of a line of pixels in the image would give a good indication of the quality of the development by seeking the higher SD all images?

    Any help is greatly appreciated!

    Convert the image into an array to IMAQ ImageToArray.

    Extract a single line or row of the table by using the table to Index.  Assuming that your image be U8, these will be U8 values.

    Digital conversion to Double can convert the array of double values.

    Use Rotate 1-d array with an offset of 1 to turn the table.

    Subtract the table of rotation of the rotation matrix.

    Deletion of the table to delete the first element of the array.  It's the difference between the first and last items, which is not desired.

    Absolute value to convert the table of all positive values.

    Use the mean or the standard deviation to measure the development.  I usually have better results with the standard deviation, but sometimes means gives good results also.

    Bruce

  • Is it possible to pick up random points in the specific region of the image?

    Hello

    I do image analysis. I came across a problem. I want to take a random 8-bit image point, that I'm processing. But I have more than a single constraint: the point must be in a particular region in the image. Is there any diagram can be used?

    Any advice is welcome. Thanks heaps.

    (for example in the attached picture, is it possible to select the points randomly in the black area? Because, I mean, you take more 1000 points at random in the image, I need all of them are in black areas.)

    Jian

    A simple way is just to generate random points and check if they are in your particular region.  Something like this:

  • I have five-point-something Lightroom thing set up on a laptop and a desktop Apple computer. Both will import images from a CD or a DVD (I have my film scanned and the images on a disk). I can't change the images on the Mac, but I can edit images on the P

    I have five-point-something Lightroom thing set up on a laptop and a desktop Apple computer. Both will import images from a CD or a DVD (I have my film scanned and the images on a disk). I can't change the images on the Mac, but I can edit images on the PC. What is going on? Also, when I try to export edited disk images, where are they going? I can't find them on my hard drive. Thank you!

    Your entire development is off? You may be able to disconnect and reconnect. You can check this thread for more suggestions:

    Lightroom 5.5 'develop module is disabled. Please renew your membership to reactivate the develop module.

    I was expecting an error message indicating that the development module is disabled, however. If this isn't what you're talking about, please show us a screenshot of the 'dark' buttons

    Mike

  • How to check quality of the image

    Hello. Im a graphic of small business start-up. I decide to try the software from Marcus to do my projects. My task; s is to make pdf from illustrator files and send them to the company of the printer to make copies. And I have a problem because the company printer won't print my files coz, they said ' you have too low quality images in your pdf, 300 dpi or more for this print in good quality. IM using illustrator to edit photos or add text to the bottom, then I .pdf file in illustrator.

    And my question is how to check the quality of the pasted image (example I go to file > new > ok > ctrl + v a few photos of the memory and how to check the dpi have this photo)

    In save the menu as a pdf, I have quality printer control

    Thank you answare. See you soon

    szeli,

    You should be able to see in the information palette/Panel (with the checked objects) Document.

    Your printer uses the wrong word when you ask a certain DPI in format PDF. It should be DPI (pixels instead of points).

    In addition, 300 PPI is far from being a generally applicable/required value. The required value depends on how it is printed.

    More is bound to tell about it.

  • How to check the resolution of the related images?

    Hi all

    Could someone guide me to write a script of the Illustrator who will check the resolution of the image file file linked in PPP?

    Thanks in advance,

    Sanat

    With the help of Sonic, I was able to make it work for me. I have only tested with .psd, .tif and .jpeg

    #target illustrator

    var docRef = activeDocument;

    with (docRef) {}

    We expect instead of 1 point (image) here!

    var placedWidth = placedItems [0] .width;

    var placedHeight = placedItems [0] .height;

    var placedPath = placedItems [0] mpfprojectdir\dev10\src\csharp\projectbase.file;

    The following 2 variables are global

    XpixelDimension = 0;

    YpixelDimension = 0;

    Call the function

    exifDimensions (placedPath);

    Calculate the height & width of DPI

    var widthDPI = Math.floor (XpixelDimension / (placedWidth/72));

    var heightDPI = Math.floor (YpixelDimension / (placedHeight/72));

    Alert ('DPI width is' + widthDPI + "DPI height is" + heightDPI);

    }

    function exifDimensions (imageFilePath) {}

    imageFilePath.open ('r');

    try {}

    While (imageFilePath.tell)< imagefilepath.length)="">

    var row = imageFilePath.readln ();

    var idxOf = (line.indexOf ('') >-1)? line.indexOf (''): line.indexOf ('');

    If (idxOf >-1) {}

    If (line.indexOf ('') >-1) XpixelDimension = parseInt (line.substring (line.indexOf(">") + 1, line.lastIndexOf (')))<>

    else YpixelDimension = parseInt (line.substring (line.indexOf(">") + 1, line.lastIndexOf (')))<>

    }

    }

    }

    catch (ex) {alert ('Fluff') ;}

    Finally {imageFilePath.close (); return [XpixelDimension, YpixelDimension] ;}}

    }

  • I have created a slideshow using Photos app. I wish that the images will appear in a random order (as they can in Power Point). I see no way to do it in the settings. Any advice?

    I have created a slideshow using Photos app. I wish that the images will appear randomly (as they can in Power Point), but I don't see where in the settings that allows this. Any thoughts?

    There is no option in Photos for MAc that allows you to randomly pull a slide show.

    You can create an album and have the album as an instant slide show in a random order using an Apple Script.

    See this link: Script: Shuffle Photos for an instant slide show in a random order

  • Draw the line or point to a specific pixel on the image

    Hi all

    I have an image in 8-bit grayscale, I extracted the Image column indeces who have defects. I need to mark the defective pixels with an indication of line or a point on the image. Can anyone suggest me how to go to that topic.

    Hello

    first of all, I do not know how to interpret 'column clues', but in the entrance to overlay you pass it as a coordinated 'y' - it should be "indices of lines? You use image rotation?

    Secondly, why you pass an array empty for loop for coordinates 'x '? So that the oval of overlay to work, you must enter valid "x, y" coordinates of the location of the oval.

    Best regards

    K

  • Superposition of the images on the specified point

    Hello!

    I have 2 pictures with a lot of similarities. I want to layer them on a specified point or edge or a unique feature. Is it possible to choose a point (by hand or by an algorithm) and then find the corresponding (or similar) on the other image? and then superimpose the images according to the corresponding point? Algorithm of the overlay is made, now I need to find matches between the two pictures and then you cover them according to the similarity.

    Thank you!

    gbbalint

    Hello

    I modified the labview example. Run it, input two images (left, right), then "load", select the edge KING (see image below) and "search". Then superimpose one image over another with transparent ('overlay'). The code is a bit messy, but you can clean for your project.

    You said that the superposition algorithm is done, could you please share it? Maybe your solution is more sophisticated and can help me with another project.

    I hope this helps you.

    Best regards

    K

  • How can I change the size of the tool point in an image

    Dear fans of LabVIEW

    I want to have a very large 'Point tool' on the screen, in fact, it must cover the whole image as a cross. Does anyone know how to do this? I searched among the long list of the properties of the image, but have not found anything useful.

    There is no property to size of point tool that I know.

    Dan

  • How to set the Image Point Tool coordinates?

    Ladies and gentlemen

    I just want to place the Image tool to the point of my image-specific details. The solution is probably trivial if you know how to do (as always), but after looking around in the properties available, I can't find what I'm looking for.

    In the hope there is someone who could help me.

    Leif Nyholm, consultant Symbio

    I found a VI does the job: "IMAQ convert Point to the KING. Exactly what I was looking for, but I do not understand why I couldn't find so far.

Maybe you are looking for