automatic creation of form elements based on the Recordset

I would like to know how I can automatically fill in a form with text fields, radio buttons, and text boxes items.  I am attaching a video that shows what I mean.  timeline 03:45-04:25.

It uses the CS6 version; I have CC version and cannot find a way to reproduce what the guy has done in the video in CC.

I have a database and links already set up.  There is simply no form more Update Record Wizard. I know there is an update record server behavior that succeeded him, but the workflow is not the same thing as what is shown in the video.

Especially when (in my case) I have to create more than 50 different forms.

I'm guessing there are a lot of things in common to these forms. If the best solution would perhaps be to write a PHP class, or an include file, which distributes these forms where they are needed, using variables to deal with differences between the forms (and I mean not just the id of the record, but also a part of the query) this approach makes it much easier to maintain the code.

If you write your own shapes (to do all your own codes), they will be better forms. You will learn ways to make applications more secure, user-friendly and efficient.

I'm working on the PHP forms, daily and never wish for a tool to automate the process. If I was forced to use the DW data tools I would be more upset you're one of them be removed.

My point is that you are naturally unhappy to have something you brought used, but I think it will be better for you in the long run. I know there are tools available third-party data. My advice is: do not replace one crutch with one another.

Tags: Dreamweaver

Similar Questions

  • Deactivating a page element based on the value of another element on the page

    Hello
    I have a page element I want to turn off if the value of another article (drop-down list item) is set to a specific value. I followed the example in the book 'Pro Oracle APEX"(p.320) in this regard. He ordered me to do this in the HTML form element attributes for the element section:
    OnChange = "htmldb_item_change (this); html_DisableOnValue (This, 'Closed', 'P3_PRIORITY', 'P3_ASSIGNED_TO'); »

    It works very well. It disables the element I want to disable. HOWEVER, it does not neutralize the article unless the element with the onchange attribute is changed.

    How can I add features to disable the second element, even if the first element does not change, but contains the value 'Closed' when the user of the first load of the page?

    Thanks for your help and your insight!
    -Reid

    Hello Reid,

    The easiest way would be to (also) a Condition only read the item that you want to disable.

    Greetings,
    Roel

    http://roelhartman.blogspot.com/

  • I'm writing sql that uses the value of a form element to calculate the value in the element anothet.

    Hi, I have a form that contains a single reference, name of the partner and three values. I am trying to add a new element that adds the three values based on the ID and displays the result.

    It's the sql which I use and it works if I type in a value for the ID fix, but when I replace it with 'P5_ID' I get the error below when the form is used. I can save the changes to the page OK.

    I would appreciate help with this.

    Thank you

    Steve

    Select

    ("Data_PSDM_Fcst". "' Month1_Act ' + 'Data_PSDM_Fcst '. "' Month2_Act ' + 'Data_PSDM_Fcst '. (' "Month3_Act") as "QT4.

    of 'Data_PSDM_Fcst' 'Data_PSDM_Fcst '.

    WHERE ID = P5_ID

    ORA-00904: "P5_ID": invalid identifier

    SteveKerry-Oracle wrote:

    Hi, I have a form that contains a single reference, name of the partner and three values. I am trying to add a new element that adds the three values based on the ID and displays the result.

    It's the sql which I use and it works if I type in a value for the ID fix, but when I replace it with 'P5_ID' I get the error below when the form is used. I can save the changes to the page OK.

    I would appreciate help with this.

    Thank you

    Steve

    Select

    ("Data_PSDM_Fcst". "' Month1_Act ' + 'Data_PSDM_Fcst '. "' Month2_Act ' + 'Data_PSDM_Fcst '. (' "Month3_Act") as "QT4.

    of 'Data_PSDM_Fcst' 'Data_PSDM_Fcst '.

    WHERE ID = P5_ID

    ORA-00904: "P5_ID": invalid identifier

    To use a value of element in SQL or PL/SQL of APEX block, use a reference variable to bind that precede the name of the element of the colon ("": "):

    select
        ("Data_PSDM_Fcst"."Month1_Act" + "Data_PSDM_Fcst"."Month2_Act" +"Data_PSDM_Fcst"."Month3_Act") as "QT4"
    from "Data_PSDM_Fcst" "Data_PSDM_Fcst"
    Where ID = :P5_ID
    

    I also highly recommend that you stop what you are doing now, remove all database objects that were created with identifiers respecting case-sensitive and re-create them according to standard practical Oracle so that they are case-sensitive. By the database SQL language reference:

    Note:

    Oracle does not recommend the use of identifiers in quotes for the names of database objects. These city identifiers are accepted by SQL * Plus, but they may not be valid when using other tools that manage database objects.

    Names of objects sensitive to case and between quotes identifiers will only cause confusion and error.

  • Update form field based on the evolution of the Organization

    Hello Forum!

    This is my first post, as I'm new to IOM, I'll try to explain the problem as specific as possible.

    The situation:

    We have some sso devices, each of them associated with an organization with a search, so when you create a user, based on the name of the Organization, a predefined resource is associated with the identity. For this, we use an adapter pre-populate the form of resources.
    The problem arises when we move from a user to other agencies, I can't get this update automatically value.
    I capture the event of organizational change using the process task 'User to move' with a dummy adapter that returns true and calls the "Update SSOAPPLIANCE" task that downloads the device identification information.
    All tasks are running, but the form process remains the same.

    Is it what can I do to make this process of automatic update?

    Thanks in advance.

    Xisco Fernández.

    Hello

    I'm not sure, but if your type of variable is this resource, then you can set it as a String.OIM will convert him at length internally. If this isn't the case, then Yes you must get the key of the resource COMPUTER in the name of the resource and then update in the form of process.

    Let me know if you have any other questions.

    Concerning
    Nitesh

  • To access the elements of an array of elements based on the value of the attribute

    Hi all

    I create a BPEL 11 g process that calls a web service which returns a data table. I need iterator on the data elements and access based on their attribute value.

    Here is a sample web service load:

    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
       <env:Header/>
       <env:Body>
          <OutputParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.oracle.com/apps/inv/soaprovider/plsql/item_pub/get_item/">
             <GET_ITEM>
                <Row>
                   <Column name="ORGANIZATION_ID" sqltype="NUMBER">101</Column>
                   <Column name="ORGANIZATION_CODE" sqltype="VARCHAR2">MyOrg</Column>
                   <Column name="SEGMENT1" sqltype="VARCHAR2">MySegment</Column>
                   <Column name="DESCRIPTION" sqltype="VARCHAR2">Upload 445</Column>
                   <Column name="PRIMARY_UNIT_OF_MEASURE" sqltype="VARCHAR2">Each</Column>
                   <Column name="PRIMARY_UOM_CODE" sqltype="VARCHAR2">EA</Column>
                   <Column name="ITEM_CREATION_DATE" sqltype="VARCHAR2">01/21/2014 09:22:35</Column>
                   <Column name="ITEM_UPDATE_DATE" sqltype="VARCHAR2">01/21/2014 09:22:35</Column>
                   <Column name="REVISION" sqltype="VARCHAR2">0</Column>
                   <Column name="REVISION_LABEL" sqltype="VARCHAR2">0</Column>
                   <Column name="REV_CREATION_DATE" sqltype="VARCHAR2">01/21/2014 09:22:57</Column>
                   <Column name="REV_UPDATE_DATE" sqltype="VARCHAR2">01/21/2014 09:22:57</Column>
                </Row>
                <Row>
                   ...
                </Row>
                <Row>
                   ...
                </Row>
             </GET_ITEM>
          </OutputParameters>
       </env:Body>
    </env:Envelope>
    

    How can I get some columns based on the name of the column attribute?

    I tried to do this:

    bpws:getVariableData('getItemResponse','body','/ns7:OutputParameters/ns7:GET_ITEM/ns7:Row[$partIndex]/ns7:Column[@name='SEGMENT1'])
    

    and

    bpws:getVariableData('getItemResponse','body','/ns7:OutputParameters/ns7:GET_ITEM/ns7:Row[bpws:getVariableData('partIndex')]/ns7:Column[@name='SEGMENT1'])
    

    but I got this compilation error:

    Error (157): xpath expression "bpws:getVariableData ('getItemResponse', 'body','/ ns7:OutputParameters / ns7:GET_ITEM / ns7:Row [bpws:getVariableData('partIndex')] / ns7:Column [@name = 'SEGMENT1'])" appearing is not valid, because XPath query syntax error. The syntax error occurs when parsing bpws:getVariableData ('getItemResponse', 'body','/ ns7:OutputParameters / ns7:GET_ITEM / ns7:Row [bpws:getVariableData('partIndex')] / ns7:Column [@name = 'SEGMENT1']) expression XPath, posted on 112. The XPath query syntax was false; the exception was: anticipated :). Check the detailed origin described in the text of the exception message and verify that the XPath expression that is named in the error message is correct. The XPath expression is defined in the BPEL process.

    I use JDeveloper 11.1.1.7.0

    Thanks in advance,

    Bill

    Use an entitlement and copy node and you can get it to work by using the syntax below.

    Assign an expression of the copy below syntax: -.

     

           

    Query="/ns1:GET_ITEM/ns1:row[$index]/ns1:column[./@name='Segment1']"/ >

           

         

    Query = "" / client: processResponse / client: result "/ >"

  • How to calculate the sum of two digital form fields based on the selection of the checkbox.

    I have a form in Acrobat Pro who needs a custom calculation. How to calculate the sum of two digital form fields based on a selection of the checkbox. I have three number fields. Field-A and B are simple one or two digits. Field-C is the sum, or the total field. I want to field-C have a control box which, when turned on and off, just gives a. gives the sum of A + B

    _ Field - 2

    _ Field - A 4

    [check] _ _ field - 6 C

    [disabled] _ _ field - 2 C

    Thank you

    The custom field C calculation script could be:

    (function () {
    
        // Get the values of the text fields, as numbers
        var v1 = +getField("A").value;
        var v2 = +getField("B").value;
    
        // Set this field's value based on the state of the check box named "CB"
        if (getField("CB").value !== "Off") {
            event.value = v1 + v2;
        } else {
            event.value = v1;
        }
    
    })();
    

    Replace 'A', 'B', and 'CB' with the real names of the fields.

  • Change the Label element based on the value of another element

    Hi guys,.

    I need to put a label of point (A) based on the value of another article (B). I did the following:
    I created a dynamic action.
    When B changes:
    1. present the value of B
    Article 2-updated
    Is element A label: myitem & b.

    Any ideas?

    Best regards
    Fateh

    His work! Check it out now

    Just do it

    $('#mylabel').children('label').children('span').text($v('P1_A'));
    

    Published by: VC on June 9, 2012 11:21

  • Dynamic action - set a value of element based on the selection of lines of report

    Hi people,

    Does anyone have an example how to set up a dynamic action, which could fill an element with the selected ID based on the selection of line of the report on the same page?

    Demo:
    http://Apex.Oracle.com/pls/Apex/f?p=19543:2

    If I select an item in the report, then I would fill in 'Selected ID' element with the value of the selected report EMPNO line.


    Later, I would use it for the display of parts of master / detail on the same page.

    Thank you very much
    Tomas

    For this sample page, add the following JS code to run when the page is loaded.

    $('.highlight-row td').click( function(){
      //fetch record id from the cell contents of first column in row
      id = $(this).parent().children('td:eq(0)').text();
      //set page item to selected id
      $('#P2_SELECTED_ROW').val(id);
    });
    
  • Automatic generation of revenue budget based on the funding agreement

    Dear Dina,

    I use project management to create approved budget revenue plan... kindly advice me how can I self-generating revenue budget based on my allocation of funds agreement?

    I am allocating funding based on the albums project task... If a project has received more than 15 albums tasks... 15 lines must be defined in the funding agreement. his activity of reproduction must be done creating revenue... kindly help me to avoid repetition...

    Thanks in advance much n...

    Hello

    Go to configuration > projects > Project Types
    Set up a type of contract class.
    On the Invoicing tab, check the box: base without Budget funding.

    The system will now create automatic revenue planned for the project, after you allocate to base funding for the agreement and you the funding for the project.

    With the help of this feature you don't need to manually enter an approved Revenue Budget.

    Dina

  • Hide/show elements based on the result of the existing function

    Hello

    I have a function that returns two values that are drawn from a process of application On Demand (thanks Shijesh!):
    function myAjaxCall()
    {
       var ajaxRequest = new htmldb_Get( null , &APP_ID. , 'APPLICATION_PROCESS=getStatus',0);
       ajaxRequest.add('P11_PATIENT_ID' , $v('P11_PATIENT_ID'))
       //notice the below line.. use of split function
        ajaxResult = ajaxRequest.get().split(',')
       $s( 'P11_CCSS_STATUS' , ajaxResult[0]);
          $s( 'P11_COPAY' , ajaxResult[1]);
    }
    I'm trying to hide/show the other two items (P11_COPAY_COLLECTED, P11_NO_COPAY_REASON) based on the return value for P11_COPAY.

    Is it possible to add an IF statement for the function to show the two elements only if the value is equal to 'Yes'?

    I tried this, but then the two values (P11_CCSS_STATUS, P11_COPAY) are not returned, much less any hide/show:
    function myAjaxCall()
    {
       var ajaxRequest = new htmldb_Get( null , &APP_ID. , 'APPLICATION_PROCESS=getStatus',0);
       ajaxRequest.add('P11_PATIENT_ID' , $v('P11_PATIENT_ID'))
       //notice the below line.. use of split function
        ajaxResult = ajaxRequest.get().split(',')
       $s( 'P11_CCSS_STATUS' , ajaxResult[0]);
          $s( 'P11_COPAY' , ajaxResult[1]);
    
    if ( $v ('P11_COPAY' == 'Yes' ) { 
         $x_ShowItemRow('P11_COPAY_COLLECTED');
         $x_ShowItemRow('P11_NO_COPAY_REASON');
    }
    else 
    {
      // Show Items 
    $x_HideItemRow( 'P11_COPAY_COLLECTED');
    $x_HideItemRow( 'P11_NO_COPAY_REASON'); 
    }
    }
    Any suggestion on how / if possible?

    Thank you
    Matt
    if ( $v 'P11_COPAY' == 'Yes' )
    should be
    if ( $v ('P11_COPAY') == 'Yes' ) 
    

    CITY

  • Creation of a command based on the available settings

    Hello

    It is more a question PowerShell General rather than VMware, but given that the script in question is to create a virtual machine, I'll ask here in any case.

    I want to create a feature to deploy a computer virtual based on the given parameters, i.e. If for example a data store and spec of customization are given, but a model is not, of course, I don't want the - template parameter in the New - VM command as it will return a null value error.

    I came up with the following which works, but I was wondering if there was a better way to do this:

        # build parameter strings
        if($template) {
            $templateParameter = " -Template $template"
        }
        if($datastore) {
            $datastoreParameter = " -Datastore $datastore"
        }
        if($custSpec) {
            $custSpecParameter = " -OSCustomizationSpec $custSpec"
        }
        if($location) {
            $locationParameter = " -Location $location"
        }
    
    
        # build deploy command string
        $deployVmCommandString = "New-VM -Name $name -VMHost $vmhost" + $templateParameter + $datastoreParameter + $custSpecParameter + $locationParameter
    
    
        # convert deploy command string to scriptblock
        $deployVmCommand = $executioncontext.invokecommand.NewScriptBlock($deployVmCommandString)
    
    
        # execute scriptblock
        Invoke-Command -ScriptBlock $deployVmCommand
    
    

    Hope that you can see what I'm trying to do what above, it works, I was wondering if there is an easier way!

    See you soon

    Harry

    Hi LucD,

    Thank you for making me know the commands of Proxy, after having cleared my brain and reading through it, I like how it works!

    In the end I opted for a different solution, rather than spend all the individual properties of the virtual machine to the function I spend a PSObject, pass through the properties in the object and build a chain of command based on the properties that are available, I love this solution:

        Param(
            [psobject]$vm
        )
    
        $deployCommandString = "New-VM"
    
        # build command string
        foreach ($property in $vm.psobject.properties) {
            $deployCommandString += " -" + $property.Name + " " + $property.Value
        }
    
            # convert deploy command string to scriptblock
        $deployCommand = $executioncontext.invokecommand.NewScriptBlock($deployCommandString)
    
        # execute scriptblock
        Invoke-Command -ScriptBlock $deployCommand
    

    Thanks for your help!

  • Auto-fill form fields based on the input from the end user?

    I am currently trying to create a new form that has a combo box 'Locations' with various options.  What I want to do, is to have another car to text field to fill out other fields associated with this location (for example, address, contact information) to save on time and reduce the possibility for the end user input errors.

    What are my options to accomplish such a task?  A form of bonding in the fields with a database of MS maybe?

    Thanks in advance for all advice and assistance on this subject!

    I created a sample for you... are a look and let me know if this is the case for you.

    Paul

  • Toggling text element based on the selection of a list item

    Hello friends,

    I have a header data block where I have a field to not enter the name of book and a REGD Item list that displays 'Yes' and ' ' and a text REG_NO element.

    When the user selects 'Yes', the text REG_NO element must be enabled so that the user can enter the number of the book.

    By choosing 'No', the REG_NO element must be disabled.

    I have included a trigger WHEN-LIST-CHANGED in the list REGD item.

    I added the following code in the trigger above:

    --=======================================

    BEGIN

    IF: HEADER. REGD = ' don't

    THEN

    SET_ITEM_PROPERTY('HEADER.) REG_NO', ENABLED, PROPERTY_FALSE);

    ON THE OTHER

    SET_ITEM_PROPERTY('HEADER.) REG_NO', ENABLED, PROPERTY_TRUE);

    END IF;

    END;

    --=======================================

    However, when the form is opened, the text REG_NO element is enabled.

    When the user chooses the 'no' in the list item REGD, then the text REG_NO element is disabled as expected.

    However, when you choose 'Yes' in the item list REGD, the text REG_NO element does not get activated.

    Can someone let me know how to activate the text element.

    Concerning

    Hawker

    When you disable an item, NAVIGALE, INSERT_ALLOWED, and UPDATE_ALLOWED properties are also set to False, then you will need to reactivate their when you reactivate an item.

  • Updates on the creation of forms to work on the iPad?

    I've created a long shape with InDesign, converted to a PDF interactive and tested on my desktop and android, but did not even think about the iPad. DUN Dun... No buttons will appear in radio or text fields. I have read a few previous forums on this issue, but I was wondering if there is any resolution or work around other than me having to create all these buttons in Acrobat. I have 18 pages of multiple-choice questions, so I want to make sure that I won't do a whole lot of work.

    If the above is true, I have a lot of work to come at - it a shortcut to create the same buttons over and over again. In other words, I have the following scenario:

    Question 1.  No Yes No maybe

    Question 2. No Yes No maybe

    Is it possible for me to repeat yes no maybe's responses in all areas.

    Thanks in advance for your time!

    When you create fields in InDesign, it will eventually create field features that are non-standard (although according to the PDF specification), at least with regard to the other PDF Reader and Acrobat viewers are concerned. While they do not appear correctly according to what Viewer PDF is used and will not appear in viewers PDF who have no support for forms, such as the value default iOS.

    The the more safe thing to do is to create fields in Acrobat. Acrobat allows you to copy and paste a group of radio buttons, but you will have to rename each option button. You can use a script to automatically create a number of radio button groups that are set up correctly, and you need to maybe just reposition them. This will save a lot of time and is not too difficult. Post again if you are interested in this approach and would like to help with the script.

  • help to try to simplify the form table, based on the collection using dynamic measurements

    Hi everyone, I have tried cleaning and simplify an application designed in 2008 apex 3.2.  We have improved in 4.1.2 and want to take advantage of our understanding of the apex and the dynamic measures to simplify a large part of our code, get rid of the redundancies and make it easier for the programmer to debug and improve next.

    The application is for traders and commercial fishermen and currently has around 4100 users.

    The part that I'm trying to simplify is a tabular report, based on a collection.  Almost all areas in this tabular form has a logic linked to it... and in most cases, it is superfluous in that it executes a UPDATE_MEMBER on the collection.  I would like to remove as much of javascript and additional processes as possible.   I'm also still very new to jQuery and javascript, and faced with the two... but competent in pl/sql.

    tabular query is:

    {code}

    SELECT
    seq_id,

    apex_item. Text (1, seq_id, "," "id ="f01_"| seq_id,",")"DeleteRow. "

    apex_item.text_from_LOV (C004, 'SPECIES'). » -'|| apex_item.text_from_LOV (C005, 'RANK') | » -'|| apex_item.text_from_LOV (C006, 'MARKETCODE') | » -'|| Unit apex_item.text_from_LOV_query (c007, 'select unit_of_measure d, unit_of_measure r species_qc'),

    apex_item.select_list_from_LOV (6, c008, "STOP," onchange = "getAllDisposition('||) seq_id. "" ")" ',' YES, '0', "- Select favorite -", ' f06_ ' | seq_id, cm) available.

    apex_item.select_list_from_LOV (7, c009, style of ' GEAR, "=" background-color: #FBEC5D;) "onFocus ="checkGearPreviousFocus('||). " seq_id |') ; "OnChange ="getAllGears('|| seq_id ||). " "" ")" ',' YES, 'f07_', "- Select favorite -", "3333" | seq_id, cm) Gear,.

    apex_item. Text (8, TO_NUMBER (c010), 5, null, "onchange ="setTotal('||)) seq_id. ")" «, » f08_'|| seq_id, cm) quantity.

    apex_item. Text (9, TO_NUMBER (c011), 5, null, "onchange ="getPriceBoundaries('||)) seq_id. ")" «, » f09_'|| seq_id, cm) price.

    apex_item. Text (10, TO_NUMBER (c012), 5, null, "onchange ="changePrice)
    ('| seq_id |') "onKeyDown = selectDollarsFocus('||) "(seq_id |', event);" ',' f10_'| "" seq_id, cm) $,.

    Decode (c013, 'Y', apex_item.text (11, c014, 30, null, "style =" background-color: #FBEC5D;)) ' onClick = 'onFocusAreaFished('|| seq_id||'); "',' f11_'. seq_id, cm), "n","N/A") Area_Fished, "

    Decode (c017, 'Y', apex_item.text (12, c018, 4, null, "style =" background-color: #FBEC5D;)) "onBlur ="setUnitQuantity('||). " seq_id. ")" «, » f12_'|| seq_id, cm), "n","N/A") UNIT_QUANTITY, "

    Decode (c017, 'Y', apex_item.text (13, 'CN', 3, null, "readOnly = readOnly; ',' f13_'|")) seq_id, cm), "n","N/A") UNIT_COUNT, "

    Decode (c050, 'Y', apex_item.checkbox (14, 'Y','id = "f14_" | seq_id |')) "style =" background-color: #FBEC5D; " onClick = "alterYes('|| seq_id||');" "onKeyPress = alterYes('||) (("(seq_id |');" ', c021), "n", "S/o") FinsAttached,.

    decode (c050, 'Y', apex_item.checkbox (15, ', "id ="f15_"|")) seq_id |' "style =" "background-color: #FBEC5D;" onClick = "alterNo('||)" seq_id |') ; "onKeyPress = alterNo('||) (("(seq_id |');" ', c022), "n", "S/o") FinsNotAttached,.

    Decode (c050, 'Y', apex_item.checkbox (16, 'U','id = "f16_" | seq_id |')) "style =" "background-color: #FBEC5D;" onClick = "alterUnk('||)" seq_id |') ; "onKeyPress = alterUnk('||) (("(seq_id |');" ', c023), "n", "S/o") FinsUnknown,.

    Decode (c050, 'Y', apex_item.textarea (17, c028, 3, null, "onchange ="setExplanation('||))) seq_id. ")" «, » f17_'|| seq_id, cm), "n","N/A") explanation, "

    Decode (c024,' no, apex_item.select_list_from_LOV (18, c029, 'HMSNATURE','onchange = 'saveNature('||))) seq_id. ")" ',' YES, ' one ', "- Select Nature of sales -", "f18_" | seq_id, cm), 'U', apex_item.select_list_from_LOV (18, c029, 'HMSNATURE','onchange = "saveNature('||)) seq_id. ")" ',' YES, ' one ', "- Select Nature of sales -", "f18_" | seq_id, cm), 'Y', 'N/a') Nature_Of_Sale,.

    decode (c020, 'Y',
    apex_item.select_list_from_LOV (40, c040, 'HMS_AREA_CODE',
    "style =" background-color: #FBEC5D;
    "onchange ="saveHMSAREA('||). " seq_id |', this.value) "',' f40_'|" seq_id, cm),
    (' N N/A ',' ') HMS_AREA_CODE;

    C020, c050,

    decode (c020, 'Y',
    apex_item. Text (41, TO_NUMBER (c041), 5, null, "onchange ="setSalePrice('||)) seq_id |', this.value) "',' f41_'|" seq_id, cm),
    (' N n/a ',' ') Sale_Price

    of apex_collections
    where collection_name = 'SPECIES_COLLECTION' order by desc seq_id

    {code}

    I am slow at first and just try to replace the ONCHANGE for apex_item 41 (retail price).   I hope that finally replace all the onblur/onchange to use the same dynamic action.

    The ONCHANGE for apex_item 41 is currently:

    {code}

    function setSalePrice (pRow, savePrice)

    {

    get var = new htmldb_Get (null, & APP_ID., 'APPLICATION_PROCESS is saveSalePrice', 0);

    Get.Add ('SETVALUE3', savePrice);

    Get.Add('ATTRNBR3','41');

    Get.Add ('SEQUENCEID', Prow);

    gResult = get.get ();

    }

    {code}

    the saveSalePrice application process is:

    {code}

    Start

    apex_collection.update_member_attribute (p_collection_name = > 'SPECIES_COLLECTION',)

    p_seq = >: SEQUENCEID.

    p_attr_number = >: ATTRNBR3,.

    p_attr_value = >: SETVALUE3);

    end;

    {code}

    I created two new hidden fields: P110_ID and P110_VALUE.

    I created a dynamic action: CHANGE COLUMN

    event: change

    selection type: jQuery Selector

    jQuery Selector: input [name = "f41"]

    real action 1 - records P110_ID with javascript expression: this.triggeringElement.id

    real action 2 - P110_VALUE value with javascript expression: this.triggeringElement.value

    true action 3 - run pl/sql code

    {code}

    declare

    number of v_member;
    number of v_seq;

    Start
    v_member: = TO_NUMBER (SUBSTR (: p110_id, 2, 2));
    Select ltrim (substr(:p110_ID,5,4),'0 ') in the double v_seq;

    safis_collections.update_column (v_seq,
    v_member,
    (: p110_value);
    end;

    {code}, where safis_collections.update_column is a package of db

    {code}

    Procedure update_column ()v_seq in varchar2

                            v_attr in number ,

                            v_value in VARCHAR2 )

    is

    Start

    apex_collection . update_member_attribute()p_collection_name=> 'SPECIES_COLLECTION'

                         p_seq = > v_seq ,

    p_attr_number = > v_attr ,

    p_attr_value = > v_value );

    apex_debug . message ()'put a day of column.seq ='| v_seq || 'attribute =' || v_attr || "with" || v_value );

    end ;

    {code}

    real action 4 - refreshment area

    I modified the query in a table to reference apex_item 41 to be

    Decode(C020,'Y',apex_item.) Text (41, TO_NUMBER (c041), 5, null), 'No,' N/a ') Sale_Price in the hope that it would fire the dynamic action.   I get the below error.  The value of P110_ID is null, the value of P110_VALUE seems to be correctly set.

    call returned Ajax Server ora error-sequence of 20103:member does not work
    There are in the collection 'SPECIES_COLLECTIO' application to run PL/SQL code

    I appreciate all thoughts/help on this.

    Thank you, Karen

    AHHA.  change the query to

    Decode (c050, 'Y', apex_item.textarea (28, c028, 3, null, null,,'f28_'| seq_id, cm), ' n ',' n/d "") explanation,.

    and that did the trick.  On the next item.

Maybe you are looking for

  • Problem installing addon Exquilla

    Trying to install Exquilla on my Mac. When I click on "Download", it stops and says he has problem of download. How to do this. I am a Geezer and don't understand half of what I know.Walt

  • Screen scrolls when in friends with games on facebook

    When friendship with games - scramble - the screen with himself scroll down without my help of the bar to the right of the screen. This happens a few minutes after I opened the screen on the screen of scrabble.THX Greg

  • Mac Pro 2 x 3.46 GHz

    Hi, I was hoping someone might be able to shed some light on why my processors fall in temp in charge? I thought a little as they warm up. These times were taken during execution of Geekbench, Cpu occur at about 60 ° c at idle with an average Cpu c 4

  • HP Photosmart Premium C310-"Initializing" constantly. Tried to unplug and reconnect, but continues.

    HP Photosmart Premium C310 running on iMac with OS X 10.7.2.  Permanently "initialization".  Worked fine two days ago. Tried to unplug the power and usb, wait 15 seconds, and reconnect. but continues "Initializing."

  • Update error 0 x 8024001 Windows 7 home Premium

    My laptop wives fails to update from the KB 3035583 update is uninstalled, which was recommended by an article in the Houston Chronicle. the convenience store indicates the problem is error 0x8024001e updated. Any suggestions?     Adam