How to change a item property just for one record

Hi,
My Requirement is, when a new record is inserted i want item1 to be enabled(which is disabled by default) only for this new record. when I implement the following code, entire column is enabled intead of just for one record.
The code I have written in WHEN-NEW-RECORD-INSTANCE trigger is
app_item_property.set_property('block1.item1', ALTERABLE_PLUS, PROPERTY_ON);
app_item_property.set_property('block1.item1', ENTERABLE, PROPERTY_ON);
please help!
Thanks
Sunny

The code I have written in WHEN-NEW-RECORD-INSTANCE trigger is
app_item_property.set_property('block1.item1', ALTERABLE_PLUS, PROPERTY_ON);
app_item_property.set_property('block1.item1', ENTERABLE, PROPERTY_ON);What is APP_ITEM_PROPERTY? This is not a Valid Oracle Forms Built-in. I don't see how your When-New-Record-Instance (WNRI) trigger will compile.
To change the properties of a specific instance of an item you would use the Set_Item_Instance_Property built-in and then there are only a few properties you can change; which are: BORDER_BEVEL, INSERT_ALLOWED, NAVIGABLE, REQUIRED, UPDATE_ALLOWED and VISUAL_ATTRIBUTE. To make a specific instance of "ITEM1" Insertable and Updateable you would use the following:
Set_Item_Instance_Property('YOUR_BLOCK.ITEM1', CURRENT_RECORD, INSERT_ALLOWED, PROPERTY_TRUE);
Set_Item_Instance_Property('YOUR_BLOCK.ITEM1', CURRENT_RECORD, UPDATE_ALLOWED, PROPERTY_TRUE);However, if you have set the ENABLED property of ITEM1 to NO in the Forms Builder, you will not be able to "Enable" the item using Set_Item_Instance_Property. You will need to make the item Enabled and set the INSERT/UPDATE properties to NO.
Hope this helps,
Craig B-)
If someone's response is helpful or correct, please mark it accordingly.

Similar Messages

  • How do I change an Apple ID just for one device, an iPod Touch?

    Hello, all...I recently purchased my nephew (I'm his guardian and am raising him) a brand new iPod Touch for his 13th birthday.  I activated the device using my Apple ID (which I also use for my iMac, iPhone and Macbook Air).  I'm thinking now about changing his iPod over to a different Apple ID to keep my iCloud "pure" (for lack of a better word), with just my stuff on it, and because his iPod is mysteriously picking up text messages to me that are supposed to go to (and which still do go to) my iPhone. Is it possible to change the Apple ID for just that one device, the iPod and, if so, how does one do that?  I have several e-mail accounts/addresses that I could use instead of the one I use for my current Apple ID.  I'm technology-challenged in the worst way, so your help/advice is greatly appreciated.  Thanks!

    CHANGE ID
    The ID is used in the following locations and you  have to change them.
    Settings>Messages>Send and Receive
    Settings>FaceTime
    Settings>GameCenter
    Settings>iCloud
    and Settings>iTunes and App store
    You  have to sign out of ID (for iCloud you delete the iCloud account from the iPod) and sign in with other ID.
    Note the following are resolved if you  use Family Sharing (iOS 8 and later):
    - Apps are locked to the account that purchased them.
    - To update apps you have to sign into the account that purchased the apps. If you have apps that need updating purchased from more than one account you have to update them one at a time until the remaining apps were purchased from one account.
    If the iPod has iOS 7 or later then you have the enter the password for Apple ID presently sign in Settings>iCloud.
    Also, a Restriction can be set (Settings>General>Restrictions) the prevents changing accounts

  • How to change the background color only for one HTML-Portlet?

    Hi all,
    I have created a HTML-Portlet in my root-page. The root page have a style: Main-Style.
    I want to change the background-color only for this one HTML-Portlet:
    <html>
    <header><title>Test</title></header>
    <body bgcolor="#999999">
    Test
    </body>
    </html>
    But this does not work...
    When I use the CSS, then it will change the background-color for the root-page too.
    Thans
    Leonid Pavlov

    could you try this
    <table bgcolor="#999999">
    <tr>
    <td>
    test
    </td>
    </tr>
    </table>
    I don't think you need <html><header><title>Test</title></header>
    <body></body></html> for your HTML-Portlet.

  • How to Change Open item into Non open item for GL

    Dear All,
                    I have created a GL in FS00 and clicked the open item management for it. 1 entry is posted to that account.Then i have reversed the entry and want to change the Gl from open item to non open item .The message appears as the balance is zero but open item exists.Please suggest how to make it non open
    Moderator: Please, search SDN

    Hi,
    Check the below threads which are useful.
    Open item management status change
    How to change Line item to open item management in G/L transaction?
    Thanks
    Aravind

  • How to change color of a button for specific time interval in jsp

    How to change color of a button for specific time interval in jsp.
    Please help.
    Thanks in advance.

    This was driving me crazy, too--and the previous answers did not seem to work. I eventually found that if I click one of the data symbols in the graph in exactly the right spot (see below), it selects only the data symbols and not the line. I can tell this because the little selection dots will be around each data symbol, but no selection dots will be on the line between the data symbols - like the graphic in Yvan's answer. Then and only then will the color symbol in the tool bar show the color of the data symbol, instead of the color of the line. I believe that you then have to first click on the color swatch in the toolbar and then select your color (or choose Show Colors and select from the color tool). Just clicking a color in the crayon box, for example, did not seem to work unless I first clicked on the color swatch in the toolbar, then clicked Show Colors on that dropdown, and +only then+ clicked the crayon or whatever.
    _The right spot to click_ seems to be just above the exact center of the data symbol, at least for the diamond shape symbol that I prefer. Sometimes it takes several tries to hit the right spot. If I miss it, the whole line is selected, which is indicated by the little selection dots on the line, between the data symbols. When I click the right spot, those selection dots go away, leaving only the data symbols selected. Then I can change the color, as described above.
    I hope this works for you too.

  • How to change the UWL refresh rate for all portal users.

    Hi Portal Experts,
    How to change the UWL refresh rate for all portal users?
    Users can individually change the refresh rate through "Personalise View" in UWL.But we want this to set it for all users(we have 10k portal users).
    It was defaultically set to 5 mins for all users.How to change this to 20 mins.
    Thanks
    Sony.

    1.      Launch the UWL iView configuration page.
    You can access the iView from the UWL administration pages (System Administration ® System Configuration). Navigate to the property editor as follows:
          From the Universal Worklist Systems, choose the system for which you want to edit the properties.
        Choose Edit.
    may be you can get clear help from below help file
    http://help.sap.com/saphelp_nw04s/helpdata/en/eb/101fa0a53244deb955f6f91929e400/frameset.htm
    regards
    nagaraju

  • How to change or add new ext for video?, How to change or add new ext for video?

    How to change or add new extensions for video player???

    Hi,
    Please try to  use Explicit Commit work to save the changes.
    check if there in any BAPI FM related to this.
    Please check the structure you have passed for these fields.
    check the Item category for BOM items - POSTP in table T418. if the entry exists then try to add the values again.
    Thanks & Regards,
    Chandralekha.

  • How to set the item property to restrict the user to not to copy from above

    Hi Guru's,
    I have a requirement like, There were two items on the form name email Id, Confirm email Id.
    I have to ristrict the user to not to copy from email Id item.. make him/her to enter the value into confirm email id item field manually.
    How to set the item property to restrict the user to not to copy from above item and paste it in this item.
    Please help.
    Thanks!!

    Just an opinion here, but that is about the dumbest requirement I have ever seen.
    I am always annoyed by web sites that ask me to enter my email twice. I ALWAYS copy the email address from the original entry and paste it into the second one.
    People enter their email addresses so often, it takes a real klutz to not get it right. And what makes you think that if they enter it twice, that they won't enter it wrong both times anyway???

  • How to change default Current Flag values for SCD2?

    I'd be curious to find out how to change default Current Flag values for SCD2 (instead of 0/1 to use N/Y)
    Probably I can change IKM module .... is there another way?
    Thanks

    Hi,
    You need change the IKM. This values are hardcode in the IKM.
    You can create a new IKM and the values used are a options of the IKM.
    Regards
    Edited by: Uthred on May 18, 2009 4:27 PM

  • How can I make a "property node" for a VI?

    Hello!
    If I add a boolean button on the FP then I am able to make a property node for that button in the Block Diagram. But how can I make a property node for a VI? I have several VI:s an that together is one program. What I need to do is to verify what kind of VI some of my VI:s is. I need to verify if it is .exe or .vi-file, and if it is .exe then I want to disable run, abort, run continuously bottons otherwise not. I have hard that this is possible to do programmaticaly but I can´t figure out how. I am aware that I could do that manually in the File->vi properties->customize->windows appearance but theese choises makes it last forever.
    I want to be able to stop and run and everything if it is a .vi file, but if it is .exe-file then all those buttons should be disabled.
    Anyone have an example on this?
    In an other message at this Forum I read "You can use the `Front Panel Window. Allow Runtime PopUp`" property to disable run-time shortcuts menues programmaticaly, but still I dont know how to create this property node.
    /Amir

    You really shouldn't open a new thread. If you don't understand something, ask and we will explain it.
    Like I said in the other thread, you can check if you are running in LV or an EXE by using the Application>>Kind property. To get it, place a property node (from the Application Control palette) on the diagram, click it and find the property.
    To set the properties for the VI, place another property node, right click it and select Select Class>>VI Server>>VI. You should have the properties you want under Front Panel Window.
    To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here and here are a couple you can start with. You can also contact your local NI office and join one of their courses.
    In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf). I believe chapter 17 of the user manual explains about programmatic control of VIs.
    Try to take over the world!

  • How to change the Content-Transfer-Encoding for the fmddataa.fmd from base

    Dear all,
       When I using this SO_DOCUMENT_REPOSITORY_MANAGERto send email,I find the fmddata.fmd  file have been changed  to binary file attachment. I don't hope so.any one have good idea to avoid this case occur?
      Can you tell me how to change the Content-Transfer-Encoding for the fmddata.fmd from base64 to quoted-printable.  The quoted-printable is the Content-Transfer-Encoding for text file with extension .txt
    Best Regards,
    Merry

    Thank you

  • How to change sentence Case in Pages for ios

    Hi,
    does anyone anyone know how to change sentence case in Pages for IPad.
    I Mean from UPPER CASE TO lower case.

    The IOS version of Pages has no Format > Font > Capitalization facility to transform uppercase text into other case forms. You need to use Pages v5.2.2 on OS X, or export to Word, and use most any other Word compatible word processor. If it is a couple of words, then retype them in the appropriate case.

  • Hi, I have answered no to the question about saving password for one spesific site. I have changed my mind and would like Firefox to save the password. How do I reactivate the password saver for one spesific site?

    Hi, I have answered no to the question about saving password for one spesific site. I have changed my mind and would like Firefox to save the password. How do I reactivate the password saver for one spesific site?

    Check exception list of your Firefox password Manager and check if your site is there or not?
    * http://kb.mozillazine.org/User_name_and_password_not_remembered#Password_Manager_settings

  • How to change the contact sync settings for icloud? please advise

    how to change the contact sync settings for icloud? please advise?

    There are no settings to change. Assuming you are using Lion 10.7.2 (or 10.7.3) - which you should be - you simply sign in in System Preferences>iCloud and check 'Contacts' and any other data you want to sync.
    If you are using an earlier system you will not be able to sync your contacts, and there is no workaround. However you can sync them with Google or Yahoo contacts, though I don't know how well this works.

  • How to change phone number on iPad for facetime

    How to change phone that provides number for iPad FaceTime

    The iPad is not a phone. Facetime and iMessage are only compatible with iOS devices. To add a phone number, you must do so from an iPhone.

Maybe you are looking for

  • Cisco IP Phone 8945 not present in cucm version: 7.1.5

    I am trying to add a Cisco ip phone type 8945 to a CUCM version version: 7.1.5.33900-10 The phone type 8945 does not show up in the drop down window in my Callmanger. I am trying to find out if i need to add the new firmware for 8945 and the device p

  • Why is the photo only black in Edit mode with iPhoto 11?

    Why is the photo only Black in Edit mode? Everything works fine, except when I try to edit a photo, it shows as only Black. I have tried every fix talked about on this forum, and some others - nothing fixes it. Is this a Feature ? or is it a bug that

  • Load balancing and Virtual directories (solaris w/ iPlanet)

    Hi everybody, I would like some assistance configuring some load balancing. Our environment consists of 6 physical servers, iPlanet 6, Weblogic 8.1, and Cisco CSS content load balancers. I need some help in the obj.conf for iplanet.... I am trying to

  • Functional module for Getting Material classification data.

    Please tell me Functional module for Getting Material classification data like class type , class, characteristics and characteristics values for material.

  • ITunes 7.0.2 Freeze Problem Persists

    Hello - A number of other threads have touched on this problem, but since none of the recommendations and advice I've reviewed so far has solved the problem, I'm posting a new topic in the hopes of attracting addition thinking on this issue. When I i