Reg. Update_allowed Property

I have set one item's update_allowed property false.
I am not able to edit the value. That is OK.
BUT I CAN EDIT THAT ITEM'S VALUE THROU FORMS TRIGGER.
I want to know , what the Update_allowed property realy means? I am using Forms 9.0.2.7.0.

Update_Allowed in terms of a user updating the value manually through the use of a keyboard. Errors should arise when trying to update programmatically also. However I have seen situations in which I can update Non_Upd items using LOVs (6i c/s).
Happy New Year.
N

Similar Messages

  • Item property : Update allowed: No

    I have created a tabular form. Due to the fact that it is not possible to record the primary key manually, i have create a fake primary key on field 'ID'. The field 'StatusID' has now a unique constraint in the database. Also the foreign keys refer to the field 'StatusID'.
    I want to prevent updating the field 'StatusID'. In Oracle Forms this was very easy.
    You can set the item property Update allowed : NO.
    But how can I implement this in an APEX tabular form?
    Regards,
    Johan Brouwer

    Leo,
    It's a tabular form. The field StatusID can be recorded manual.
    When a StatusID has been created, it's not allowed to change it anymore.
    If you use "display as text, save state", you are also not able to insert the data in that field.
    So if a record has been created, then it's not allowed to change the field anymore.
    In oracle forms, this was very easy. You could set the insert_allowed property on YES and the update_allowed property on NO. I'll want to built the same functionality in the tabular form.
    Regards,
    Johan

  • Is there any property in OPA for textbox - allow only numbers and hypen

    Hi,
    I am working in .net code with OPA rules engine. I have set of OPA screens with textboxes.I want to restrict the user to type only numbers and hypens for some of the text boxes(like phone no,ssn,zip code and so on).
    As you know,this can be done in .Net javascript/jquery.The problem is , we don't have any clue to identify which textboxes needs to be restricted(out of 25 textboxes in entire flow ,only 4 needs to be restricted). Currently,nly the idea we have based on the screen title and question(hard coding).But it's not the right solution.If the rulebase changed,it won't work.
    Is there any property/API in OPA end for textboxes to set to give some clue to front end developers(dotnet) not to allow other than numeric and hypen for these textboxes ? OPA developer has written some rules for this , but it will do the validation only after entering the value, we want to restrict the keyboard entry itself based on some property getting from OPA.
    Thanks.

    Thanks for your quick response, actually OPA developer added some regular expression to validate the textbox entry, as you said it's working properly after entering some values in textboxes.
    But, still i am looking to do the keyboard manual entry restriction in front end .NETcode based on some clue from OPA.I can understand keyboard entry restiction can't be done in OPA end. We use OPA rules engine to display the screens and textbox controls in front end .NET code.
    But if i get some clue from OPA ,like saying that,these are the textboxes having reg expression property for which you need to restrict only numbers and hypen.
    We have around 100 screens in the flow , out of which some of the screens have textboxes(out of that only few textboxes needs to be restricted only numbers and hypen) .
    Currently , i have some javascript code to restrict the keyboard entry ,but it's working common for all the textboxes, i want to restrict only few textboxes which should accept only numbers and hypens.If i get any property/clue from OPA, saying that this is the property for textbox for which you should restrict only numbers.
    Like , for example, multilinecount property for textboxes which should appear bigger. As of now,OPA developer doesn't have any clue about how to do this.
    Thanks,

  • Update_allowed of false bypassed by LOV

    Forms [32 Bit] Version 9.0.4.0.19 (Production)
    Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
    Oracle Toolkit Version 9.0.4.0.31 (Production)
    PL/SQL Version 9.0.1.5.1 (Production)
    i have found that it is possible to update a text item that is set to be update_allowed:false (either through item properties or programattcaillty using set_item_property) if the item has an LOV associate with it.
    The item cannot be updated by typing into it (it returns frm-40200 as expected) but when its LOV is displayed (via a when-mouse-double-click called procedure) and the user selects a value, it changes/updates the text-item value.
    is this a bug?
    is there a workaround that allows an LOV to be displayed for the item (for information purposes) but if a value is select from the LOV then it raises the appropriate error.
    many thanks in advance.
    Edited by: mojo on Jul 26, 2011 8:31 AM

    absolutely right!
    you assumed correctly that the procedure fired by when-mouse-doubleclick uses show_lov(); (which displays the lov regardless of the update_allowed property) and that list_values; built-in takes this property into account. it seems like an oversight to me to allow an LOV to return a value to an item marked update_allowed:false though.
    the workaround, in my case, is to use an item or block level key-listval that calls LIST_VALUES built-in (this overrides the form level when-mouse-doubleclick which calls do_key('list_values') and the form level key-listval which calls a wrapper procedure encapsulating bespoke logic for displaying appropriate editors for any item).
    The workaround is not perfect, since it would be nice for a user to be able to see a list of appropriate values for an item but be unable to select one. i looked at trying to set the lov properties programmatically but this looks like a dead end too.
    many thanks to INol and ahmed.

  • Remote registry: OpenRemoteBaseKey not working

    Hi
    I'm trying to read a remote registry key. I have the Remote Registry service running on on the target machine, and I can read the key using `reg query`. In all honesty, this is good enough for my purposes.
    PS C:\> reg query "\\remote-machine\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer" /v VersionHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer    Version    REG_SZ    9.11.9600.17420
    However, I'm curious to know why I can't do this with Powershell and OpenRemoteBaseKey. I've tried the following steps
    from here:
    PS C:\> $remote = "remote-machine"PS C:\> $type = [Microsoft.Win32.RegistryHive]::LocalMachine
    PS C:\> $reg = [Microsoft.Win32.RegistryKey]::OpenRemoteBaseKey($type, $remote )
    PS C:\> $regpath = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer"
    PS C:\> $productkey = $reg.OpenSubKey($regpath)
    PS C:\> $productkey.getvalue("Version")
    You cannot call a method on a null-valued expression.
    At line:1 char:1
    + $productkey.getvalue("Version")
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull
    Inspecting the values produced, $productkey is null, and $reg appears to be empty:
    PS C:\> $reg
    Name Property
    PS C:\> $reg.GetType()
    IsPublic IsSerial Name BaseType
    True False RegistryKey System.MarshalByRefObject
    PS C:\>
    So, why would `reg query` work, while `OpenRemoteBaseKey()` does not? I can use `reg query` well enough in my scripts, but I'd prefer something a little more Powershell-y.
    Cheers

    When you update IE, it does not necessarily update the 'Version' value in the registry.
    -- Bill Stewart [Bill_Stewart]
    Okay. Are you referring to what is stated in the following paragraph from the same page you linked before?
    Internet Explorer 3.x does not add the version value to the registry. Instead, it adds a "build" value to the same registry key and updates the "IVer" string value to "103." For backward compatibility, Internet Explorer 4.0 and later versions change or add the build value. For Internet Explorer 3.x, the build value is a string that contains the four-character build number. (For example, "1300" is the build value for Internet Explorer 3.02). For Internet Explorer 4.0 and later versions, the build value is a string that contains a five-character value, followed by a period and four more characters, in the following format:
    If so, I think it does not apply after IE4. In which case, as all the machines on my domain are Windows 7 or Server 2008 installs, I don't think it's likely that they have such an old version installed.

  • How can i disable '+' icon in the toolbar

    Hi,
    I have one requirement i.e i want to disable '+' button[File-->New] in the toolbar.This button creates a record when i click on this.
    My block(Updatable block) should allows updations and insertions so i can't make insert_allowed and update_allowed property to "NO".I tried with
    APP_SPECIAL2.ENABLE('FILE.NEW',PROPERTY_OFF); but the + icon is still enabled when i write above code.
    How can i disable '+' icon in the toolbar
    Thanks in advance,

    This is eBusiness-related, maybe ask your question in the EBusiness-forum, maybe here OA Framework

  • Update one column in Query only block

    Hi,
    I have a question regarding multi-record, multi-columns form block.
    A block has 100 columns (column1 to column100).
    We have two separate version of same form. In query only mode, update_allowed property of all the blocks in the form is False.
    But in query only form, one specifc column should be updateable.
    How can use Custom.pll to achive this functionality ?
    I tried following steps
    1. In when-new-item instance of column 54, wrote set_item_property and set_block_property
    2. Update allowed for block and specific item is True
    I know that Block property will override the property of items.
    Now all the items are updateable in query only form. But i want only one column updateable.
    Appreciate you valuable input on this.
    Thanks

    This is an eBusiness-related question, you should post it in the eBusiness-forum. From the "pure" forms point of view, set the Block as updateable and set all item except the one you want to be updateable to UPDATE_ALLOWED =PROPERTY_FALSE

  • I want to use a variable in set_block_property

    i m trying to SET insert_allowed,update_allowed property of database at form level.
    SET_BLOCK_PROPERTY(ARG_TBL_NAME,UPDATE_ALLOWED,PROPERTY_TRUE);
    Its working fine with above syntax but i want to do like this can I?
    SET_BLOCK_PROPERTY(ARG_TBL_NAME,UPDATE_ALLOWED,X);
    -- WHERE X IS ANY VARIABLE WHICH CONTAIN VALUES EITHER PROPERTY_TRUE OR PROPERTY_FALSE.
    WHEN I TRIED THIS MY FORM COMPLIED BUT AT RUN TIME WHEN IT COMES THIS STATEMENT IT JUST SIMPLY CLOSED. REMBER I M USING FORM 6I

    Ok, here's the deal. PROPERTY_TRUE and PROPERTY_FALSE are Forms NUMERIC Constant variables. The numeric value for these variables are:
    PROPERTY_TRUE = 4
    PROPERTY_FALSE = 5
    You can find the value of almost all Forms Constant variables by simply outputting them to the message console using the Message() built-in, eg; Message(PROPERTY_TRUE);
    If you want to make this parameter to Set_Block_Property more dynamic, then I would make "X" a numeric variable and where ever you are assigning "X" a value either assign it the literal value or use the Forms variable. For example:
    BEGIN
       IF ( SOME CONDITION is TRUE ) THEN
          X := 4;
       ELSE
          X := 5;
       END IF;
    END;Or you can use the following:
    BEGIN
       IF ( SOME CONDITION is TRUE ) THEN
          X := PROPERTY_TRUE;
       ELSE
          X := PROPERTY_FALSE;
       END IF;
    END;Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Form personalization requirement

    Hi All,
    I have a requirement where we need to throw error (or disable delete option) message if a user tries to delete a particular element (loan) which has been processed once either in regular payroll run or quick pay. (in element entries screen: Assignment window --> Entries)
    This might be possible through user hook but at the moment we are looking to achieve this through from personalization. Any help in this regard will be much appreciated.
    Thanks,
    Avinash

    Hello Avinash,
    In Actions it should be DELETE_ALLOWED and not UPDATE_ALLOWED property.
    Type : property
    Object type: Block
    Target Object : ENTRY
    Property Name : DELETE_ALLOWED
    Value : FALSE
    And Also once it worked, You need to create one more sequence to Reset DELETE_ALLOWED Property to TRUE, As once disabled it will remain like that.
    Actions
    Type : property
    Object type: Block
    Target Object : ENTRY
    Property Name : DELETE_ALLOWED
    Value : TRUE
    PS: Also close the Element entry form and re open before testing the issue.
    Regards,
    Saurabh

  • How to disable any record in a Tabular Data Block

    Hi,
    I have a tabular data block having 10 records, every record has a check box(1 check box on each row). I want to disable all items in that particular record where user checks the check box(check box is UNCHECKED by default).
    Is this possible in WHEN-CHECK-BOX-CHANGED trigger or any other trigger ?, if so, how, please help.
    I hope that, I have illustrated the problem clearly.
    Regards.

    Hi,
    You cannot disable a single row in detail block. Instead You can set the UPDATE_ALLOWED property to FALSE. By this the user can't change the contents.
    IF :<block_name>.<check_box_name> = '<value_when_checked>' THEN
       SET_ITEM_INSTANCE_PROPERTY('<block_name>.<item_name>', CURRENT_RECORD, UPDATE_ALLOWED, PROPERTY_FALSE);
    ELSE
       SET_ITEM_INSTANCE_PROPERTY('<block_name>.<item_name>', CURRENT_RECORD, UPDATE_ALLOWED, PROPERTY_TRUE);
    END IF;Regards,
    Manu.
    If my response or the response of another was helpful or Correct, please mark it accordingly

  • Edit/No-edit

    I have many input forms that have edit button. When the user wants to modify the data displayed he has to press edit button otherwise it will always be in no-edit mode.
    The problem is how to accomplish this. I am doing this currently is by use changing the update_allowed property of the BLOCK on and off.
    This allows the cursor to move around and highlights the text. I don't want the cursor to enter any such fields (using keyboard or mouse) and also the display to change a bit different so that user can feel the difference.
    I tried changing the items to disabled but the visibility is not good.
    If you have any suggestion please post.
    null

    Hi,
    Set that particular items, mouse navigable and keyboard navigable property to false intially, when you press the edit button make the property as true.
    Hope this helps
    Sat

  • How do I allow updates but prevent inserts

    Hi,
    I have a block which is none base table and uses cursors to do manipulation on the underlying database.
    I want to allow uses to edit existing fields, but prevent them from creating new ones. I thought a simple change in the property palate to set 'insert allowed' to 'no' and changing this value when the insert stuff from the cursor tkaes place would do the trick, but I get 'update not allowed' when I try to edit the fields.
    Any ideas? I definately havn't set update allowed to no.
    Thanks
    Mark

    If you mean that a field that already has a value can be updated, but a field that has no value yet cannot be updated, than set the update_allowed property dynamically.
    If :item is null then
      set_item_property(item,update_allowed, FALSE);
    else
      set_item_property(item,update_allowed, TRUE);
    end if;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to forbit item update??

    hello,
    i try to control item update in a record under forms
    my record structure is:
    dt_begin, dt_end, price
    i want to update the price anyway but i want to control (conditions) dt_begin and dt_end updates
    what trigger can i use???
    thank a lot for anwsers
    @+ Rosagio

    what trigger can i use???What are the conditions when you want to adjust the update_allowed-property? At database-retrieval? Then use a POST-QUERY-trigger. At entering data, when it may be a WHEN-VALIDATE-ITEM-trigger at the specific item.

  • Record level velidation(urgent)

    Hi,
    I have base table block with 4 records eg...
    recipt number po number date
    i want if user enter firsr row then cursor goes to next record and first record is non editable and this process goes on...
    recipt po numberCd date
    12 1234 28-frb-2008
    13 1345 28-frb-2008
    14 1467 28-frb-2008
    Hope it is a very clear example
    please help as soon as possible.
    Thanks in advance
    ...

    I'm with Tony, I can't think of any "GOOD" business reason to prevent updates to the record a user just updated. However, if you have a good business reason I suggest you set a variable (typically a Form Global or Parameter) with the record number of the item you want to prevent any further update to in the When-Validate-Item or When-Validate-Record trigger. Then In the When-New-Item-Instance block trigger, you can test the the value of the variable and if greater than zero (0) then call your SET_ITEM_INSTANCE_PROPERTY() built-in passing the record number in your variable to set the UPDATE_ALLOWED property to FALSE. This should handle all situations where the user would leave the record (tab, arrow, or mouse click).
    Craig...

  • SipServer - Message Debug: Check box for Local logging enabled is unchecked

    I have configured a SipServer in my domain. The Administration Console for WebLogic Server shows an option for 'Local logging enabled' for logging sip-messages.
    See SipServer > Configuration > Message Debug.
    However, when I check this option, the option is ot stored in the config file sipserver.xml, so at a subsequent start up of the Console, the option is unchecked again.
    When I run sip traffic, sip messages are logged in the log file (sip-messages.log), but I am not sure whether this includes the local logging or not.
    Version info:
    The login screen sais: WebLogic Server 11g.
    After login, at the bottom of each window, it sais: WebLogic Server Version: 10.3.3.0
    Is this a bug? Is it solved in some newer version?
    How can I see in my log file whether local logging is done or not?

    Manu,
    Maybe it has something to do with it. But what shoudl I do exactly?
    So Yes I am disabling all the items except one checkbox say X in TAB D initially in the when new form instance. Now checkbox X when I click it , it enables checkbox A, B and C and when I unclick it it sets all the values in A, B and C to unchecked and disables the A, B and C checkboxes.
    It sounds simple concept so this works great if I don't issue a COMMIT_FORM which is in my save button but if in the middle say tab A I save the from and it has COMMIT_FORM I get record saved. Then I navigate to D TAB and there checkbox X I am still able to click it but when I try to check A, B or C I am not allowed to check or uncheck it....Should I code update_allowed property explicity for A, B and C there in the when checkbox changed of checkbox x? Why would I have to do this even though I am enabling those items ? I am confusued....

Maybe you are looking for

  • Red Screen

    In the last three weeks, at different times, my iMac screen has turned red. A red tint along with red tinted icons and in whatever program I opened. Tonight it turned red while I was paying bills on my bank's web site, the other times I was doing oth

  • When I open Outlook I receive a popup with a lot of gibberish which I suspect is some kind of virus.

    When I attempt to forward details of the problem a long sequence of gibberish follows, but it begins like this.MZ ÿÿ ¸ @ ð º ´ Í!¸LÍ!This program cannot be run in DOS mode. Ð ( 0 " P € * @ .text þ `.data 0 " @ À.pdata h @ $ @ @.idata Š P & @ @.rsrc

  • Need advice on best setup for Extreme and Express w/ (n only) network

    I'd like to get some advice on the best setup for my situation. I've read a number of posts on WDS, Extending a Network, etc. and, unfortunately, I'm now more confused than ever. We have an Airport Extreme 802.11n using WPA2 Personal, 2.4Ghz (n only

  • Purchase Order - ME21N/ME22N - Defaulting custom field in EKPO table

    Hi, I checked the forum for answers but couldnt find any relevant ones. We have a custom field in one of the custom screens at Item level. This date field needs to be defaulted with the delivery date during create/change if the value is blank. Proble

  • Classes and subclasses given as String input - question

    Hello, I am new in Java so please don't laugh at my question!! I have a method as the following and I am trying to store objects of the type Turtle in a vector. However the objects can also be of Turtle subclasses: ContinuousTurtle, WrappingTurtle an