Bean - erase Images on a Multi image recording block

Hello
I use beans HandleImage (Yves Junior) on a block record multi, which is also the retail block. Everything works fine except when master record is changed, and the detail block is disabled the bean is not erased automatcially and images are left behind (indicating when the new record master has less lines to detail the previous record and you get child previous images left behind)

I was wondering what the trick was to erase the images? I know that the command I need to use is:

Set_Custom_Property (p_bean, p_row, 'CLEAR', ");

But what is the best way to erase all the lines?

Steve

Have you tried:

Set_Custom_Property( p_bean, ALL_ROWS, 'CLEAR', '' );

François

Published by: Francois Degrelle on October 15, 2010 17:15

Tags: Oracle Development

Similar Questions

  • RAW image recording / lens aberration correction

    My question concerns how important image recording quality when considering to use the lens correction data. Although one of the EOS Utility Manual mentions how Digital Photo Professional can solve peripheral aberrations, it refers only to color corrections only for images like the FIRST recorded. What, exactly, are the choice of good recording quality and evil, regarding their correlation with correction data that the software uses to correct aberrations?

    Peripheral illumination correction simply corrects optical vignetting is inherent in many lenses. In other words, it corrects the neighbors of illumination in the whole image, where without it the corners and the edges of the picture may be a little darker than the center of the image. It is more common in the wide angle lenses.

    Correction of distortion and chromatic aberrations are only applied in camera when you process RAW files in JPEG format. So, in other words, if you want them to do behind closed doors you must have the camera set to produce JPEG or RAW + JPEG for these fixes to apply.

    The same corrections can be applied in post-processing of Canon Digital Photo Pro RAW conversion software. If you have corrections allowed behind closed doors, then allow the DPP software treat 'in the know', he will apply them same as if it was behind closed. Alternatively, you can manually cancel the corrections in post processing.

    Many other post processing RAW conversion software can do similar. For example, Adobe Lightroom (Adobe Camera Raw) is a correction of the lens profiles built in which can be applied automatically, as well as manual controls for three types of correction. Software DXO lens correction software still seems more advanced.

    If done in post-processing, the result of RAW conversion can be a file type other than 8-bit JPEG, for example 16-bit TIF or PSD, etc.. If the treatment is done behind closed doors, you can get than JPEG files.

    I hope this makes sense.

    ***********

    Alan Myers
    San Jose, California, USA.
    «Market softly and carry a great lens.»
    MATERIAL: 5DII, 7D(x2), 50D(x3), some other cameras, various lenses & accessories
    FLICKR & EXPOSUREMANAGER

  • Windows Disk Image recorder (error code 0x80004005)

    My computer will no longer burn anything on disks.
    I think that the registry is damaged, if everything else works perfectly. I don't think that my dvd drive has stopped because it burns well at the back of the discs lightscribe images. When the disc is finalizing, I get this error:

    "the disk image has no burn successfully because an error occurred." (error code 0x80004005) ».

    It stops immediately after. I want to reinstall "microsoft disc image recorder ' but its nowhere is located on the Web site." None of the automatic fixes they offer optimasation registry repair and they have for burning discs solves nothing.

    This article indicates that only certain types of files 'Image' can be burned with isoburn.exe.

    Burning ISO or IMG Images to disc in Windows 7
    http://www.7tutorials.com/Burning-ISO-or-IMG-disk-images-Windows-7

    You still have problems if you follow this method.

    Burn a CD or DVD
    http://Windows.Microsoft.com/en-us/Windows-Vista/burn-a-CD-or-DVD

    "The device, \Device\CdRom0, has a bad block." is a little something to worry about, your CD-ROM drive is a combination of CD/DVD drive?  This error is usually the result of a failure CD drive, or if you're lucky, a pilot of defective material.

    http://www.Google.com.au/search?q=%22The+device, +%5CDevice%5CCdRom0,+has+a+bad+block.%22&hl=en&tbo=1&rls=com.microsoft:en-au:IE-Address&output=search&source=lnt&tbs=qdr:y&sa=X&ei=zRUATv3GIoj5rQeT2M2LDQ&ved=0CAsQpwUoBQ&biw=1280&bih=599

    Earlier, I told you how to get the Device Manager.  There you can uninstall the suspect as CD/DVD players, restart and have windows rediscover.  This method will take care of all driver problem (hopefully).  Replacement of readers would be the next step for review.

    As you have a Retail DVD you also have the possibility to do a Windows repair installation.  This would bring to your computer to the version of the DVD, for example, Service Pack 1, and other updates to Windows, may have to be redone.  Your programs and data are not lost, but it's a good idea to back up valuable data.

    How to perform an upgrade on the spot on Windows Vista, Windows 7, Windows Server 2008 & Windows Server 2008 R2
    http://support.Microsoft.com/kb/2255099

    Windows 7 - repair facility
    http://www.SevenForums.com/tutorials/3413-repair-install.html

  • Why the images are blocked in my emails?

    My e-mail work fine except that some images are blocked and contain a small box with a red x in it. Also when I open Thunderbird, it says that it cannot connect to the proxy server.

    ... it says it cannot connect to the proxy server.

    Check your network settings, then correct for the proxy. If you do not use a proxy, adjust the setting accordingly.

  • How to check the previous value of the element in a multi-record block

    Oracle Version: 10 g
    Forms Version: 10 g

    Hi all
    Hello everyone, I have a multi-dossier block in a form where one of the values of elements is of LOV.user can select the value of LOV.

    If once the user selects the value of LOV and moves to the next of the multi-file record, and selects the value of LOV again, I shouldn't allow users to select the previous value of the user in order to avoid duplication of records.

    and important remark is that I should get there before you save it in the database because once registered in the database I can compare the values and hide the previous value.


    Any help will be appreciated.


    Thanks and greetings

    This is a question frequently asked in the forum! There are several different solutions. Take a look at the following articles. Both will perform the necessary verification of duplicates.
    Forms - registration of treatment group (value in double check...
    or
    Avoid records duplicated in a block

    If none of these solutions don't work for you, search the forum for other options.

    Hope this helps,
    Craig B-)

    If someone useful or appropriate, please mark accordingly.

  • How to check the values in multi-record block. ?

    Hello

    I'm new to forms. I have the field titled "Comments" in the block of multi-record. I have a button called "reject". Reject button is in the control block. If I press the button reject, field comments must be entered in one of the record. Otherwise, he should tell message. How to check the multi-record block. ?

    Pl.Help.

    Thanks in advance.
    Mano

    Mano,

    Add NEXT_RECORD just before the END of the LOOP.

         GO_BLOCK('');
         FIRST_RECORD;
         LOOP
              IF NVL(:., ' ' ) = ' ' THEN
                   MESSAGE('');
                   RAISE FORMS_TRIGGER_FAILURE;
              END IF;
              EXIT WHEN :SYSTEM.LAST_RECORD = 'TRUE';
              NEXT_RECORD;
         END LOOP;
    

    Kind regards

    Manu.

    If my response or response from another person was helpful, please mark accordingly

  • How to do the validation to the record level in multi record block.

    Hello
    I use form 10g. I have a doubt in form 10g. Look, I got multi-record block (10 records).
    In this block, I have a few items of text
    (1) S_NO
    Account_number 2)
    withdraw_amt 3)
    Deposit_amt 4)
    (5) balance_amt.

    These are the fields and sample data that I posted in forms.
    S. n ACC_No - WITHDRAW_AMT - DEPOSIT_AMT - BALANCE_AMT
    1-250 - 1000.00 - 1000.00
    2.------250-----------500.00-------------------------------------------500.00
    3-250 - 2000.00 - 2500.00


    Now, I entered the data manually in all areas...
    But what I need is if I entered the field of deposit in the amount it will add to the old balance and if I add the amount to remove the field that he removed from the old balance automatically.
    Pls tell me what are the possible ways to implement this form...


    Eliane.

    For the calculation of the fields there are some properties, you can define and then let the calculation forms. The WHEN-VALIDATE-POINT-approach will not work, because it increases your balance_amount whenever you change the value.

    But what exactly is the logic for your calculation. It's just: BALANCE_AMT =: DEPOSIT_AMT-: WITHDRAW_AMT?

    If so, create a new database item not in the block, assign Calcaulation-mode of 'Formula', a formula to something like

    NVL(:BLOCK.DEPOSIT_AMT,0)-NVL(:BLOCK.WITHDRAW_AMT)
    

    Then whenever you change DEPOSIT_AMT or WITHDRAW_AMT, the BALANCE_AMT will be calculated again.

  • How to get the original number multi-record block registration

    Hi all


    I know how to find the item duplicated in several record block.

    For Ex:
    Line_Num            Item_Name             Quantity
    1                           AA                      10
    2                           BB                      20
    3                           AA
    Here record 3rd nom_element is duplicated, I can able to check and display the message that "point is duplicated", I found [sheikyerbouti.developpez.com/duplicates/duplicates.htm].

    but I want to show as well as the original line to be number 1 when the nom_element came.

    Here I want to check the original Line_Num and display the message

    "Item is duplicated, update quantity in the original 1' line."

    Can someone help me find it?
    Thank you.

    Kind regards
    Guru.

    In the following key trigger write code like this I think it will help you

    declare
    v_Text varchar2 (20);
    NUMBER OF V_REC;
    BEGIN
    v_Text: =: test;
    V_REC: =: SYSTEM. CURSOR_RECORD;
    premier_enregistrement;
    loop
    If v_text =: test V_REC AND <> : SYSTEM. CURSOR_RECORD then
         
    GO_RECORD(:SYSTEM.) CURSOR_RECORD);
    RAISE FORM_TRIGGER_FAILURE;
    END IF;
    WHEN THE OUTPUT: SYSTEM. LAST_RECORD = "TRUE";
    NEXT_RECORD;
    END LOOP;
    GO_RECORD (V_REC); NEXT_RECORD;
    -v_Text: = NULL;
    EXCEPTION
    WHEN FORM_TRIGGER_FAILURE THEN
    RAISE FORM_TRIGGER_FAILURE;
    END;

  • Hiding from the Multi control registers block - Runtime

    Dear all,

    We work on Forms 11 g. In our Application, we have Multi Record blocks, and we require to hide some controls of The Multi Record block at run time based on Some Conditions. But the problem is that, while hiding, some Gap will be there, and we must avoid that. What we can do for this?

    Thanks in advance,

    Vishnu.

    Dear Vishnu.,.

    If you want to hide the control, then take the width of the element, and add that to the width of the control, which is to the left of the element. The gap will be filled by the post office, whose width is increased, like, reduce the X_POS of the element, which resides in the right side, with the width of the masking element. Also, if there is a need, then increase the width of the moving element.

    I hope this helps.

    Manu.

  • 'Image' of block multi-record element type

    If I have a block of several record with a type of picture element, is it possible to load only / display an image for some of the records on a datablock? It seems that "READ_IMAGE_FILE" still applies to the whole element, which is responsible for the image for all records in the block... I can't find anything that will load only the image of a certain recording that I said... Something as sort of 'SET_ITEM_INSTANCE_PROPERTY' where I can put the record number I want the image to display on. Such a thing exists?

    Thank you!

    If the item of the Image is based on a BLOB column, you can escape to the population of the order of the day. I see no work around. It's like you ask a record, but do not want to display the content of the column.

    François

  • ERASABLE IMAGE EFFECT

    This code I find in the internet: EFFECT of IMAGE EFFACABLE with the following code:

    var lineSize:Number = 40;

    var drawnBitmapData:BitmapData = new BitmapData (210, 145, true, 0x00000000);

    var drawnBitmap:Bitmap = new Bitmap (drawnBitmapData);

    var erasableBitmapData:BitmapData = new BitmapData (210, 145, true, 0xFFFFFFFF);

    var erasableBitmap:Bitmap = new Bitmap (erasableBitmapData);

    erasableBitmap.cacheAsBitmap = true;

    addChild (erasableBitmap);

    maskee.cacheAsBitmap = true;

    maskee. Mask = erasableBitmap;

    var eraserClip:Sprite = new Sprite();

    initEraser();

    function initEraser (): void {}

    eraserClip.graphics.lineStyle (lineSize, 0xff0000);

    eraserClip.graphics.moveTo (stage.mouseX, stage.mouseY);

    stage.addEventListener (MouseEvent.MOUSE_MOVE, maskMove);

    }

    function maskMove(e:MouseEvent):void {}

    Draw a line to the current position of the mouse

    eraserClip.graphics.lineTo (stage.mouseX, stage.mouseY);

    Clear the bitmap drawn by filling with a transparent color

    drawnBitmapData.fillRect (drawnBitmapData.rect, 0x00000000);

    Copy our gum in the erasable bitmap

    (This is necessary to ensure the smooth edge alpha on our gum are preserved)

    drawnBitmapData.draw (eraserClip, new matrix()), null, BlendMode.NORMAL);

    Fill the erasable bitmap with a solid color

    erasableBitmapData.fillRect (erasableBitmapData.rect, 0xFFFFFFFF);

    Copy the bitmap of Scribble to our main bitmap with blendmode CLEAR value

    This erases the part of the mask which was established.

    erasableBitmapData.draw (drawnBitmap, new matrix()), null, BlendMode.ERASE);

    }

    function startDrawing(e:MouseEvent):void {}

    eraserClip.graphics.moveTo (stage.mouseX, stage.mouseY);

    }

    test.jpg

    So I have a question: is it possible to identify when the image is completely visible under the mask?

    I'll be very grateful.

    Best regarding Varde.

    Yes, you can browse the pixels of the mask.  (and that the code is unnecessarily verbose/complicated.)

    var eraserDiameter:Number = 40;

    var erasableBitmapData:BitmapData = new BitmapData (maskee.width, maskee.height, true, 0x00000000);

    var erasableBitmap:Bitmap = new Bitmap (erasableBitmapData);

    erasableBitmap.cacheAsBitmap = true;

    var completeBool:Boolean;

    addChild (erasableBitmap);

    maskee.cacheAsBitmap = true;

    maskee. Mask = erasableBitmap;

    var eraserClip:Sprite = new Sprite();

    eraserClip.graphics.beginFill (0xff0000);

    stage.addEventListener (MouseEvent.MOUSE_MOVE, maskMove);

    function maskMove(e:MouseEvent):void {}

    eraserClip.graphics.drawCircle (mouseX, mouseY, eraserDiameter);

    erasableBitmapData.draw (eraserClip);

    endF();

    }

    the above is the only code needed to replace your code.  the code below checks for completeness.

    function FDNE (): void {}

    completeBool = true;

    outerLoop:

    for (var w: int = 0; o<>

    for (var h:int = 0; h<>

    {if (erasableBitmapData.GetPixel (w, h)! = 0xFF0000)}

    completeBool = false;

    break outerLoop;

    }

    }

    }

    {if (completeBool)}

    fact

    }

    }

  • Verification of image recording PHP random code

    I saw on many pages of record now a character using random set - converted to an image that users must enter to check that they are not a robot of auto-fill.

    On a registration of php page (insert recording), does anyone know how to do this?

    I use DW and I guess its something to do with a generator of random numbers with a swf converter...?

    On Wednesday, April 4, 2007 11:07:37 + 0000 (UTC), "RichardODreamweaver".
    wrote:

    > I've seen on many pages of record now the use of a set of random characters.
    > converted to an image that users will type to check that they are not a
    > automatic filling robot.
    >
    > On a php registration page (insert recording), does anyone know how to do this?
    >
    > I use DW and I guess its something to do with a random number generator
    > with a swf... Converter?

    Do a Google search for tutorials php captcha
    --
    Steve Fleischer
    Steve at flyingtigerwebdesign dot com
    Hong Kong

  • delay after each image record

    Hello

    Can someone help me please about an issue I'm facing. Basically, I managed to save five images in a directory, I now want to do is to save each image after a specific time period without interrupting the entire program. I tried to do this with the time elapsed time vi (under the calendar), but do not have to work. I know that it is possible using this vi. I think I have what I do is not the right way. Attached is a screenshot and the vi I haaving problems.

    Is that what you want? When you click on the button 'Save 5 images' type of lock, the VI is expected to produce 5 images, with a 3 second delay between them.

    Edit: this VI will also wait 3 seconds before you save the first file, if you want the first file to be created when the button is clicked, you must change the VI a little, so you can practice a little more

    Edit2: important to stress, that you didn't have any time in your loop to slow it down. If you run these timing loop, your computer tries to run it as soon as possible. This is not a good practice. So I put a wait 50 MS in the loop to be ok with this...

    Edit3: I also forgot to connect the cable to your digital indicator "picture #". You can put in the required place and connect the entire meter wire.

  • Image recording is not real but device works perfectly on emulator

    Hi guys, I use the JDE 4.6.1. I would like to keep an image uploaded to the file system and retrieve it later. Something like a caching option. Everything works perfectly on the Simulator, but when I install it on the device, it does not work. Here's the code,

    private StringBuffer Imagedirectory = new StringBuffer(System.getProperty("fileconn.dir.photos"));
    
    FileConnection fc = (FileConnection)Connector.open(Imagedirectory.toString(),Connector.READ_WRITE);
    
                    if(!fc.exists()){
                        Util.getWebData(url, this);
                    }else{            
    
                        byte[] data = getData(fc);
    
                        bitmap = EncodedImage.createEncodedImage(data, 0,
                                data.length);
    
                        if(this.width !=0 && this.height !=0){
                            bitmap = ScaleImageToSize(bitmap, this.width,this.height);
                        }
                        setImage(bitmap);
     }
    

    This is where I get the data of the file

    private byte[] getData(FileConnection file)
        {
            byte[] data = new byte[0];
            try
            {
                 InputStream input = file.openInputStream();
                              //////////
                 int SIZE = 100000;
                 ByteArrayOutputStream byteArrayOutputStream = new
                                    ByteArrayOutputStream();
                 byte[] buffer = new byte[SIZE];
                 while (true)
                 {
                   int bytesRead = input.read( buffer, 0, SIZE );
                   if (bytesRead == -1) break;
                   byteArrayOutputStream.write( buffer, 0, bytesRead );
                 }
                 data = byteArrayOutputStream.toByteArray();
                 byteArrayOutputStream.flush();
                 byteArrayOutputStream.close();
    
            }
            catch(Exception e)
            {
                System.out.println(e.toString());
            }
            return data;
    
        }
    

    This is where I write the image to a file,

    private void writeFile(byte[] data, String fileName)
        {
            FileConnection fconn = null;
            try {
                fconn = (FileConnection) Connector.open(fileName,
                        Connector.READ_WRITE);
            } catch (IOException e) {
                System.out.print("Error opening file");
            }
    
            if (fconn.exists())
                try {
                    fconn.delete();
                } catch (IOException e) {
                    System.out.print("Error deleting file");
                }
                try {
                    fconn.create();
                } catch (IOException e) {
                    System.out.print("Error creating file");
                }
                OutputStream out = null;
    
                try {
                    out = fconn.openOutputStream();
                } catch (IOException e) {
                    System.out.print("Error opening output stream");
                }
    
                try {
                    out.write(data);
                    out.flush();
                } catch (IOException e) {
                    System.out.print("Error writing to output stream");
                }
    
                try {
                    fconn.close();
                } catch (IOException e) {
                    System.out.print("Error closing file");
                }
        }
    

    Help, please.

    Thanks much for the reply.

    I found the problem, the byte array which I was the analysis was not proper, so I created the image first and after that used the information bytes of that to save the image. Here is the solution.

     public void callback(final String data)
        {
            if (data.startsWith("Exception")) return;  
    
            try
            { 
    
                byte[] dataArray = data.getBytes();
                bitmap = EncodedImage.createEncodedImage(dataArray, 0,
                        dataArray.length);
    
                if(this.width !=0 && this.height !=0){
                    bitmap = ScaleImageToSize(bitmap, this.width,this.height);
                }
                setImage(bitmap);           
    
                if(isWriteImage()){
    
                    System.out.println("Before writing the image");
                    writeFile(bitmap.getData(), Imagedirectory.toString());
                    System.out.println(Imagedirectory);
                    System.out.println("Image written - Operation Successful");
                }
    
            }
            catch (final Exception e){
                System.out.println("Image Creation Failed");
            }
        }
    

    The problem was because I was the array of bytes of the string of variable data analysis. No idea why this caused a problem?

  • Cropped/resized images recording is not in the specified dimensions

    Hi all

    I cropped and saved an image (original dimensions: 1503x1000px) in Photoshop for a ratio of 1140x400px. However, when I look at the file on my computer, it shows the dimensions as 1503x528px. I have not made any changes to the resolution and have need of these images to the size I specify (cannot use them otherwise).

    Anyone know what could be causing this?

    Thank you!

    You gave your answer:

    I cropped and saved an image (...) a ratio1140x400px.

    You don't want to cash crops. W x H in the drop-down list and enter the dimensions in pixels directly, like 1140 px x 400 px. Leave the field empty resolution unless you need a particular print size.

Maybe you are looking for