Using COPY Built-IN to set null

Hello,
I have several radiogroups with the following values: 0, 1, (NULL)
I am trying to assign NULL dynamically to them using the copy builtin, however it doesn't seem to work with nulls.
Is there any other way to assign null to an item using only the it's name?

No,it happens from proffesionals also; just put in mind we r humans and r doing mistakes
Most important is to learn from mistakes and correct them to others...
i learned also from u that's possiblely doing with COPY Built-in
Thank u very much Cldr
Go Forward.
Best Regards,
Abdetu...

Similar Messages

  • What is the use of setting null values to Objects?

    What is the use of setting null values to Objects?
    regards,
    namanc

    It's more of a safety trap within java to handle the "programmers are still humans" exception.
    String myname;
    // print what???? Forgot to initialize the name!
    System.out.println(myname);Java will complain about myname not being initialized. It won't when you do this:
    String myname = null;
    // allright, your name is null
    System.out.println(myname);In the second case you are showing to java that you know what you are doing.

  • Using READ_IMAGE_FILE BUILT-IN IN Forms causes a loss in the  resolution

    Hi All
    Oracle Developer suite 10g, database 11 gr2, windows Platform
    I'm using READ_IMAGE_FILE BUILT-IN in forms builder to read an image and get a good background for the form, but the image displays in the form with a resolution that is less than the actual image resolution.
    Please help

    Francois,
    Sorry, because I don't have any background about java,
    This is the java console output after saving a new record :
    Oracle JInitiator: Version 1.3.1.22
    Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\it maniger
    Proxy Configuration: Browser Proxy Configuration
    JAR cache enabled
    Location: C:\Documents and Settings\it maniger\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    Loading http://itmanage:8889/forms/java/frmall_jinit.jar from JAR cache
    Loading http://itmanage:8889/forms/java/myappicons.jar from JAR cache
    Loading http://itmanage:8889/forms/java/frmwebutil.jar from JAR cache
    Loading http://itmanage:8889/forms/java/jacob.jar from JAR cache
    Loading http://itmanage:8889/forms/java/handleimage.jar from JAR cache
    Loading http://itmanage:8889/forms/java/classes12.jar from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    إصدار بريمج Forms هو : 10.1.2.0
    Lecture.bLog=true
    Lecture.bLog=true
    InitConn=jdbc:oracle:thin:@zogotoun-jnq4h6:1521:XE
    InitUser=tutoforms
    InitPwd=tuto
    Clear imge
    Searching JAR for file:///f:\femtosoft\fmst\mainmenu.jpg
    Unable to find file:///f:\femtosoft\fmst\mainmenu.jpg in JAR
    Searching docbase for file:///f:\femtosoft\fmst\mainmenu.jpg
    Constructed URL: file:/f:/femtosoft/fmst/mainmenu.jpg
    Image found in DOCBASE: file:/f:/femtosoft/fmst/mainmenu.jpg
    Start Ecriture()
    Ecriture() : Connect to database
    Ecriture() : error connecting to the database java.security.AccessControlException: access denied (java.net.SocketPermission zogotoun-jnq4h6 resolve)
    Ecriture() : execute query=UPDATE PHOTOS set PHOTO_JAVA = ? where IDENTIFIANT=5
    java.lang.NullPointerException
    Mostafa

  • Libsslport library conflict when using components built with studio 11 & 12

    I have a library built with Studio 11 that links with libstlport.so in studio 11. I then build an application with studio 12 which links with studio 12 stilport.so. When I do an ldd on the application it reports that it depends on stlport.so from both studio 11 and 12. This happens even if I set LD_LIBRARY_PATH to explicitly point to the Studio 12 lib directory.
    On running the application it consistently crashes at exit with the following stack trace:
    std::locale::~locale()
    _exit()
    exit()
    The problem is resolved if we build everything with Studio 11.
    It should be possible to link with components build with older version of the compiler. Can someone tell us what is the right way to do this.
    Thanks.
    Shirish.

    Setting LD_LIBRARY_PATH is useful for testing and for one-off programs used only by yourself, but it is not a sustainable or scalable solution. For more on this topic:
    http://blogs.sun.com/rie/entry/tt_ld_library_path_tt
    When you build applications using shared libraries, you usually need to set the runpath (-R option).
    By default, the CC command sets the runpath to point into the compiler installation area. If parts of the application are build with different compilers, you can by deafult wind up with runpaths pointing into each compiler area, which can lead to linking two versions of a library, a recipe for disaster.
    The best way to solve this problem depends on how you will use and deploy the application. I'll suggest a general solution, which works even if you deploy the application to remote systems used by others.
    Create a runtime environment for the application, perhaps a directory tree like this:
    myapp/
        bin/
        lib/
        doc/Main programs go in the bin directory. Shared libraries go in the lib directory.
    Build shared libraries and executable programs with a relative runpath pointing into the lib directory:
    CC ... -R \$ORIGIN/../libIf you build an application entirely with Studio 11, copy the studio 11 version of libstlport.so into the lib directory.
    If multiple compilers are used, copy libstlport.so from the most recent compiler into the lib directory.

  • Set null to :system.current_item

    I need to set null to an item in my form. Usually I'll use for example
    :emp.empid:='';
    But I plan to use this Program Units in some items so I decide to use :system for example
    PROCEDURE date_check IS
    x varchar2(10);
    v_item varchar2(50):= name_in(:system.current_block||'.'||:system.current_item);
    begin
    //some conditions here//
         //some conditions here//
         if x is not null then begin
         v_item := '';
         raise form_trigger_failure;
         end;
         end if;
    end;
    I set sysdate as an initial data of the item. But when I run the form it returns error. Can somebody help me to set null to that item using :system.itemname
    Thanks.
    Regards,
    firman

    name_in gets the value of the item. So you should use copy.
    copy('',:system.current_block||'.'||:system.current_item)

  • Name_in and copy built in

    1)IF name_in('global.'||name_in('system.cursor_block')||'_active') <> 'Y' THEN
    property();
    2)name_in('global.privelege') NOT IN ('A','D') then
    error menu
    3)copy('I',name_in('system.cursor_block')||'.active_status');
    could some one help me to understand wht the above 3 statements are actually doing
    Thanks in advance

    Name_In function :
    You can reference items indirectly with the NAME_IN and COPY built-in subprograms. The NAME_IN function returns the contents of an indicated variable or item. Use the NAME_IN function to get the value of an item without referring to the item directly.
    The following two statements retruning the content of an indicated variable ('global.'||name_in('system.cursor_block')||'_active'
    1)IF name_in('global.'||name_in('system.cursor_block')||'_active') = 'Y' THEN
    property();
    2)name_in('global.privelege') NOT IN ('A','D') then
    error menu
    Copy Procedure : The COPY procedure assigns an indicated value to an indicated variable or item. Unlike standard PL/SQL assignment, however, using the COPY procedure allows you to indirectly reference the item whose value is being set:
    3)copy('I',name_in('system.cursor_block')||'.active_status');
    COPY can be used with the NAME_IN function to assign a value to an item whose name is stored in a reference variable or item:
    /* put value 'KING' in item whose name is stored in ref_item */
    Copy('KING',Name_In('control.ref_item'));
    More in Name_In and copy
    Why Use Indirect Reference Referencing items indirectly allows you to write more generic, reusable code. By using variables in place of actual item names, you can write a subprogram that can operate on any item whose name has been assigned to the indicated variable.
    Also, using indirect reference is mandatory when you refer to the value of a form bind variable (item, parameter, global variable) in PL/SQL that you write in a library or a menu module. Because libraries, menus, and forms are separate application modules, you cannot refer directly to the value of a form item in a menu-item command or library procedure.

  • How do I use the built-in camera or webcam?

    I know this may sound very elementary but there was no documentation with my Mac when I bought it new (except a thin flimsy pamphlet with very baic stuff in it) and the help menu comes up with nothing at all when I search for web cam, webcam or isight.
    Where do I go to learn about how to use the built-in camera/web cam as a camera and also as a web cam?
    Thank you

    VortexBoy wrote: ... I know this may sound very elementary but there was no documentation with my Mac when I bought it new (except a thin flimsy pamphlet with very baic stuff in it)...
    There should have been a seventy page booklet in the box with your new iMac.  If yours is the latest version, clicking here will download it if you cannot find the physical copy.  If yours is an older iMac model, you can search for the correct manual from the iNtel iMac Support Page > "Manuals" link.
    After that, Mac 101 is a great web-based information source.  If you don't need general help, take a look here for specifics about each application of interest.
    VortexBoy wrote: ... and the help menu comes up with nothing at all when I search for web cam, webcam or isight....
    If your posted info is correct that you are running Mac OS X (10.7.3), you should be able to get started by using your Mac's Finder > Help menu command.  Searching for "camera" (without quotation marks) on my 10.7.3 Mac returns Mac's Help article entitled "Use your Mac’s built-in camera."  This is the web version of the same help.
    Other apps, like QuickTime Player (the Lion QT 10.x version), and iMovie (part of iLife that came with your Mac) can also use your iMac's camera. 
    iMovie Help or this web page version of the same help will explain how to "Record video directly into iMovie".
    Use QTX Player's File > New Movie Recording menu command to record video with it.  You can configure size and quality of the recorded material by using QTX's preferences as shown in this image:
    VortexBoy wrote: ... Where do I go to learn about how to use the built-in camera/web cam as a camera and also as a web cam? ...
    Different apps do not all work the same.  For function-specific help, search Help in separate camera applications; i.e., after you launch Photo Booth, iChat, QTX, iChat, etc., use the individual app's Help menu command to search for more info on the camera or what you want to do.
    This article offers great basic tips about how to position, light, and use built-in cameras.  Although its subject shows it was written for iMacs, it is equally applicable to other reader's inbuilt Apple cameras, too.
    For more specialized functions than those offered by the camera software already included with your Mac, you can search the Mac App Store for other apps that can use your camera.
    For webcam help with iChat, use Apple's iChat Support page if you need more help that that provided in the dialog boxes and iChat > Help on your Mac.
    To use your camera with FaceTime, search your Mac's FaceTime > Help or these web versions of the same Help topics that should be available on your Mac.
    Skype or other third party webcam apps will offer their own Help menus of varying quality.  In additon to these app Help services, some apps offer comprehensive Support services via their web page.  If you decide to add Skype to your Mac, you can click here to review the excellent Skype Support pages.
    If you need to start a new topic for specific questions after you get started, give as much detail about what you want to do and what you may have already tried unsuccessfully.  We will offer specific suggestions based on the details you provide.
    Enjoy your new Mac!
    EZ Jim
    Message was edited by: EZ Jim
    Mac OSX 10.7.3

  • How do I use the built-in microphone on my iMac while using Windows XP?

    My iMac has a built-in microphone. My computer is set up with a partition to run either mac or windows. I would like to use the built-in microphone feature when I am using Windows XP. Is there any way that I can do this?

    Hi and welcome to Discussions,
    assuming you have installed the neccessary BootCamp Drivers from the OSX Leopard DVD the internal mic is useable with any kind of recording software.
    Windows itself has a rather rudimentary Audiorecorder program built-in.
    For a more sophisticated recording program have a look at Audacity http://audacity.sourceforge.net/
    Regards
    Stefan

  • How can i use the built-in microphone at the same time as using my earphones? (they have an external mic attached)

    I am recording stuff on garageband and i need to hear other tracks as I'm playing, but I have to play them through external earphones so that the they don't overlap onto the one I'm creating.
    The wire for my earphones has an external microphone attached to it, however, I have no desire to use this microphone as it is ridiculously sensitive and picks up even the slightest vibrations when the wires rub against my cheek or my t-shirt.
    Therefore, I need to use the built-in microphone when recording. Except that, whenever I plug in the earphones to the iMac, garageband automatically switches to the external microphone. I went in to the Garageband preferences, and saw that it was set up for recording through the built-in mic, which is strange because input is clearly coming from the external.
    So, I went into the iMac System preferences > sound > input. There are three options here: Internal microphone, Line-in, and Soundbooth 3.0.
    What I found is that whenever I plug my earphones into the iMac, the option for 'Internal microphone' changes into an option for 'external microphone'. Now, I am fairly sure that an 'external microphone' is EXACTLY the same thing as a 'Line-in', but I'm not so sure now, so please feel free to correct me if I am wrong.
    How do I stop the iMac from changing 'Internal microphone' to 'External microphone'? It is very important that I am able use the earphones and the Built-in Mic at the same time.

    Hi John,
    I think the only way is to get an iMic...
    http://www.bhphotovideo.com/bnh/controller/home?O=&sku=797644&is=REG&Q=&A=detail s

  • How can I use the built-in Isight camera with an external camera (usb/firewire) at the same time?

    How can I use the built-in Isight camera and an external video camera at the same time?
    I'm wanting to stream over Oovoo/Skype/etc. using 2 cameras.
    Thanks

    Simple question with a not so simple answer.
    (a) If you mean that you want to run multiple apps simultaneously using a different camera with each app, you may encounter computing power limitations.  Digital video is processor intensive.  The only way to know if your Mac can do this it to try it.  If the video does not work together but each app works when it it the only app running, you are likely overloading your Mac's ability to process and/or move all the required data in your data bus.  You can get a better indication of whether this is the case by watching your Activity Monitor utility while running the apps you want to use.
    (b) If you mean that you want to have more than one compatible camera connected to your Mac simultaneously for ease of changing between video sources, some, but not necessarily all, apps you are using to operate your camera(s) allow you to select between your cameras.
    How you select among connected cameras depends on which application you are using. Here is how camera selection works in a few examples:
    (1) For iChat, you can choose which iSight you use in the "Camera:" choices bar in iChat > Preferences... > Audio/Video that appears when more than one compatible camera is connected. Although your camera choices will be different, the choices bar will look something similar to the Preferences settings shown here:
    If you cannot see the "Camera" choices bar, your Mac is recognizing only one (or none) of your cameras. In that case, consider the suggestions fromhttp://support.apple.com/kb/HT2090 for iSight problems or refer to your other camera's documentation for help.
    This particular choices bar solution applies ONLY to iChat. Most other applications also have settings that allow you to choose which camera to use. However, they do not all work the same way.
    (2) For instance, iMovie HD's camera choice is NOT set via Preferences. When you have more than one compatible camera connected, iMovie6 HD uses a drop-down menu choice something like this (depending on which version of iMovie you use):
    Note: Because I had no built-in iSight connected when I made this example, and because my external iSight was not connected, the drop-down menu showed only "Time Lapse." Because your Mac has a built-in iSight, your built-in iSight would show in the drop-down menu even when no other camera is connected. Connecting an additional Mac compatible webcam should allow you to choose either camera.
    Other iMovie versions work slightly differently.
    iMovie 9 (from iLife '11) uses a different camera choice button shown in this article:
      http://docs.info.apple.com/article.html?path=iMovie/9.0/en/mov39f84285.html
    iMovie 8 (from iLife '09) is slightly different as explained in this article:
      http://docs.info.apple.com/article.html?path=iMovie/8.0/en/10172.html
    In general, you can use your Mac's help for the application in use to find out how to select among more than one connected camera.
    (3) Photo Booth in Snow Leopard 10.6.x and later uses the Photo Booth > Camera menu command to select which camera to use.
    Note for readers with older Mac OS X: The previous version of Photo Booth that came with Tiger (10.4.x) is such a simple, basic app that it offers no menu selectable choice. Unless your built-in iSight is already occupied as the camera being used by some open application before you launch Photo Booth, Photo Booth will use ONLY your built-in iSight.
    However, you can use the trick from ¶ 4 of http://docs.info.apple.com/article.html?artnum=302781 to let Photo Booth use an external camera.
    (If you have an external Firewire camera connected, it may be used in preference to any USB webcam. If that is a problem for you, merely disconnect the problem Firewire device.)
    (4) For FaceTime, launch the app and click the Video menu item.
    If your Mac recognizes more than one connected compatible camera, a "Camera" section listing the cameras from which you can choose will appear there. Clicking on the desired camera name will let you select the one you want as shown in this image from my Mac Pro and LED Cinema Display:
    If your Mac recognizes only one compatible camera, the "Camera" section will not appear in the Video menu, but FaceTime will automatically use the connected camera that is recognized by OS X.
    (5) I do not use Skype oir Oovoo.  For those or other apps, see Help for each app for info on how to select your desired camera.
    Message was edited by: EZ Jim

  • My daugther' iphone id under my wife's email and now all music and pictures are attached to that id.  Wife now has an ipad and looking at using the existing id for set up? Would like to establish new id for daughter and not lose or share music/photos?

    My daugther' iphone apple id is under my wife's email and now all music and pictures are attached to that id.  My wife now has an ipad and I am looking at using the existing id during set up?   Thus, I would like to establish new apple id for daughter, associated to her email account, however I do not want to lose or share her music/photos, nor share with my wife's id.  Is this possible, or is it best just to establish a new id for my wife, and then change the email address associated with the existing apple id?

    well if you establish a new apple id for your wife that would be best unless you email all of the existing photos to your email and then when you have established a new id then you log into your email on the new id and save all of your pics onto it by pressing on tthe pic for about 5-8 seconds then options will come up and you press the save to my album ..as for the music if you can copy and paste, through computer, the songs then awesome!

  • Set null in PreparedStatement

    Hi
    I need to set null as a parameter in the PreparedStatement (that will behave as "is null" ).
    the PreparedStatement.setNull is not working.
    any ideas???

    How did you use setNull() in your code? I'm sure there must be something wrong with the way you coded it.

  • When using the built in web server, is there a way to specify a different

    When using the built in web server, is there a way to specify a different error handler when you try to access a NON .CFM file? Right now I get the standard:
    java.io.FileNotFoundException: filename.ext
    Is there any setting to override this and direct the message to your own .cfm template? The missing template handler in the CF Admin work only for .cfm files.
    Thx

    The in-built web server for ColdFusion 8 is JRun. I am on ColdFusion 10, however, and so cannot offer hands-on advice. (CF10 replaced JRun with Tomcat.)
    My guess is that you have to modify the file {CF_ROOT}/WEB-INF/web.xml. Don't forget to create a back-up first!
    You may then proceed as follows.
    1) In the ColdFusion root (CF_ROOT), create the file myCustomFileNotFound.cfm. Give it some content, like
    My custom File Not Found page. Current time: <cfoutput>#now()#</cfoutput>
    2) Open the file {CF_ROOT}/WEB-INF/web.xml in a text editor. Add the following error-handling specification just before the end tag </web-app>:
    <error-page>
    <error-code>404</error-code>
    <location>/myCustomFileNotFound.cfm</location>
    </error-page>
    Save the file web.xml.
    3) Restart ColdFusion. Test by browsing to a URL requesting filename.ext

  • Which is better to use? connection.close() or connection = null

    Hi,
    can anybody let me know what is the difference between the following statements when intended to end the usage of it?
    finally{
    try{
    if(con != null){
    con.close();
    }catch(Exception e){
    System.out.println("Error in closing connection");
    }OR
    finally{
    con =null;
    }also can i set NULL to Resultset or Prepared statement instead of close() method?
    Please let me know what will be the difference in each case.
    Thanks in Advance.

    Doing this is a BAD idea.
    finally{
       con =null;
    }It's likely to cause your application to completely stop working after a certain number of connections have been acquired and subsequently leaked.
    Always make sure that all database connections are closed after use under all circumstances.

  • How to set Delete Rule to SET NULL while designing relational model .

    Dear All,
    Am new to SQL Developer Data Modeler and was doing some relational and logical design using Data modeler and i want to generate DDL script, while doing i was struck up with this issue.
    I have two table and tried to give Primary key and Foreign key relationship, in foreign key table i want to set the Delete rule has SET NULL, but it is not found. I have other three options like CASCADE, RESTRICT,NO ACTION. Whereas in logical design i can find SET NULL, NO ACTION and RESTRICT....
    But the DDL script is getting generated based on Relational design , i want to set foreign key has SET NULL in delete rule how to accomplish that?
    Please help me......
    Thanks in Advance
    Ramkumar.S

    Hi Ramkumar,
    If you unset the Mandatory property on the Foreign Key, you should then be able to set the Delete Rule to SET NULL.
    David

Maybe you are looking for

  • I changed my password for wifi connection and now my wifi won't connect.

    I have an Osprey mini. Last night I needed to connect a new device to the wifi but couldn't find the card with the network password, so I got to my account online and changed the password. But when I try to connect, it says the password is incorrect.

  • Envy 7640

    Hi I try to install full drivers for my HP ENVY 7640 but it fails. After a while the installprocess stopps and I get this message: ......failed to start. Verify that you have sufficient privileges to start system services. I´m admin of my PC so I don

  • Possible to Subtotal Rows in Crosstab?

    Hi all; I have created a crosstab query that displays the hours worked per day.  I want to display the hours worked in a month and show a subtotal for each week. I am totally new to Discoverer and was hoping someone could help out. Thanks!!

  • InDesign 9.1 CC quitting Mac

    InDesign 9.1 CC keeps quitting on Mac (Mountain Lion, Latest Version) on startup of program I have had no problems with CS6, but i have just downloaded InDesign CC 9.1 less then an hour ago and i cannot open any files or the program without it quitti

  • Importing of material revaluation using DTW problem

    Hello, I tried to import a material revaluation using DTW because i want to make amendment in cost price so i use the 2 templates (material revaluation & material Revaluation_lines). Uploading was successful because i received this message "75oMateri