Array problem - Related Selects

Good Morning,
I'm a newbie when it comes to this so I apologize ahead of time.
I'm trying to build a Year/Make/Model related select search. I found a HTML, PHP, and the JQuery Related Select Plugin that i'm trying to convert to use with CF.
It looks like i can use an array to replace the PHP page that supplies static data:
<?php
$stateID = $_GET['stateID'];
$countyID = $_GET['countyID'];
$townID = $_GET['townID'];
$html = $_GET['html'];
$states = array();
$states['MA'] = "Massachusetts";
$states['VT'] = "Vermont";
$states['SC'] = "South Carolina";
$counties = array();
$counties['MA']['BARN'] = 'Barnstable';
$counties['MA']['PLYM'] = 'Plymouth';
$counties['VT']['CHIT'] = 'Chittenden';
$counties['SC']['ANDE'] = 'Anderson';
if($stateID && !$countyID && !$townID){
          echo json_encode( $counties[$stateID] );
} elseif( $stateID && $countyID && !$townID ) {
          echo json_encode( $towns[$stateID][$countyID] );
} elseif( isset($villages[$stateID][$countyID][$townID]) ) {
          echo json_encode( $villages[$stateID][$countyID][$townID] );
} else {
          echo '{}';
?>
I'm tryiing to convert the following into an array so that i can access it from the index.cfm page:
<cfquery name="qYear" datasource="MyDS" username="MyUser" password="MyPass">
    select distinct YearRange
    from ExactFit2012
    order by YearRange
</cfquery>
<cfquery name="qMake" datasource="MyDS" username="MyUser" password="MyPass">
    select distinct Make
    from ExactFit2012
    order by Make
</cfquery>
<cfquery name="qModel" datasource="MyDS" username="MyUser" password="MyPass">
    select distinct Model
    from ExactFit2012
    order by Model
</cfquery>
<cfset myYear = ListToArray(ValueList(qYear.YearRange)) />
<cfset myMake = ListToArray(ValueList(qMake.Make)) />
<cfset myModel = ListToArray(ValueList(qModel.Model)) />
<Cfoutput>
#myYear#<br>
#myMake#<br>
#myModel#
</Cfoutput>
When i do this i get the error:
Error Occurred While Processing Request
Error Executing Database Query.
[Macromedia][SQLServer JDBC Driver][SQLServer]Invalid column name 'Ford'.
index.cfm:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>jQuery Related Selects</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
<script src="src/jquery.relatedselects.min.js" type="text/javascript"></script>
<style type="text/css">
body { font:12px helvetica, arial, sans-serif; }
</style>
<script type="text/javascript">
$(function(){
          $("#example-1, #example-3").relatedSelects({
                    onChangeLoad: 'MyArray.cfm',
                    defaultOptionText: 'Choose an Option',
                    selects: {
                              'Make':                    { loadingMessage:'Loading Year...' },
                              'YearRange':                    { loadingMessage:'Loading Make...' },
                              'Model':                    { loadingMessage:'Loading Model...' },
                              'OverallSize':          {}
</script>
</head>
<body>
<form id="ymm">
          <select name="YearID">
          <option value="">Choose Year &raquo;</option>
          <cfoutput query="qYear">
          <option value="#YearRange#">#YearRange#</option>
    </cfoutput>
          </select>
          <select name="Make">
          <option value="">Choose Make &raquo;</option>
          </select>
          <select name="Model">
          <option value="Model">Choose Model &raquo;</option>
          </select>
          <select name="OverallSize">
          <option value="">Choose Size &raquo;</option>
          </select>
</form>
</body>
</html>
I may be going avout this all woring, but i have tried 3 cfc tutorials with no luck so i'm hoping the JQuery Related Select will do the trick.
Cheers,
Aaron

good

Similar Messages

  • I'm having problems (1)selecting onscreen text, (2) having problems resizing menu boxes and selecting menues with the cursor. I'm not able to select menus and move them. I'm not sure how to correct this.

    I'm having problems (1) selecting onscreen text, (2) resizing menu boxes and selecting menues with the cursor. I'm not able to select menus and move them. I'm not sure how to correct this.

    1) This is because of software version 1.1. See this
    thread for some options as to how to go back to 1.0,
    which will correct the problem...
    http://discussions.apple.com/thread.jspa?threadID=3754
    59&tstart=0
    2) This tends to happen after videos. Give the iPod a
    minute or two to readjust. It should now be more
    accurate.
    3) This?
    iPod shows a folder icon with exclamation
    point
    4) Restore the iPod
    5) Try these...
    iPod Only Shows An Apple Logo and Will Not Start
    Up
    iPod Only Shows An Apple Logo
    I think 3,4, and 5 are related. Try the options I
    posted for each one.
    btabz
    I just noticed that one of the restore methods you posted was to put it into Disk Mode First rather than just use the resstore straight off, I Have tried that and seems to have solved the problem, If it has thank you. previously I have only tried just restoring it skipping this extra step. Hope my iPod stays healthy, if it doesnt its a warrenty job me thinks any way thanks again

  • I am having a problem relating camera roll album bugs

    i am having a problem relating camera roll album bugs

    Can you trell us more about it?
    If the camera roll is covered partly by your screen, close the photo app, open the multitask bar, tap on the photo app icon unitl it starts to shake, then hit the little minus icon to close the app completely.
    Return to your home screen and start the photo app again, you should be able to select the camera roll again.
    You can also reset the phone to get it working again.

  • Problem Related To HOT Spot in ABAP Programming?

    Hi All,
    I developed a program of purchase register now i want that on clicking the PO it will take the user to the conserned PO for that i used HOt Spot but still it is not taking me to the conserned PO. Plz tell me what do i do to fullfill my purpose.

    hi, Abhinav
    i think that the following Code will help you in this way.
    REPORT  zfsl_hot_cust_docn.
    TABLES: zsd_credit_bal, tvm4t, t023t, kna1.
    TYPES : BEGIN OF t_sd_credit_bal,                 " To define Internal Table for holding following Data
              benid LIKE zsd_credit_bal-benid,        " Customer ID
              botcp LIKE zsd_credit_bal-botcp,        " Pack
              audat LIKE zsd_credit_bal-audat,        " Date
              vehno LIKE zsd_credit_bal-vehno,        " Vehicle Number
              vbeln LIKE zsd_credit_bal-vbeln,        " Document Number
              movmt LIKE zsd_credit_bal-movmt,        " Movement type
              quantity LIKE zsd_credit_bal-quantity,  " Quantity
            END OF t_sd_credit_bal.
    SELECT-OPTIONS:  soaudat FOR zsd_credit_bal-audat NO-EXTENSION OBLIGATORY DEFAULT '20071121'.
    DATA :  sd_credit_bal1 TYPE STANDARD TABLE OF t_sd_credit_bal WITH HEADER LINE,
            sd_credit_bal2 TYPE STANDARD TABLE OF t_sd_credit_bal WITH HEADER LINE.
    START-OF-SELECTION.
      DATA: vbenid(10), vbotcp(3), lineno TYPE i   ."LIKE LINE OF sd_credit_bal1.
      PERFORM main.
    *&      Form  MAIN
    *       text
    FORM main.
      SELECT benid botcp audat vehno vbeln movmt quantity INTO CORRESPONDING FIELDS OF TABLE sd_credit_bal1
        FROM  zsd_credit_bal
        WHERE audat IN soaudat.
      WRITE: 'Main Menu'.
      WRITE: / 'Select Entry to see its details.'.
      LOOP AT sd_credit_bal1.
        WRITE: /1 sd_credit_bal1-benid HOTSPOT ON, sd_credit_bal1-botcp HOTSPOT ON.
        vbenid = sd_credit_bal1-benid.  vbotcp = sd_credit_bal1-botcp.
        HIDE: vbenid, vbotcp.
      ENDLOOP.
    ENDFORM.                    "main
    AT LINE-SELECTION.
      WINDOW STARTING AT 25 3 ENDING AT 103 25.
      WRITE: 1(78) sy-uline,
             /1 '|',
             3(10) 'Date' CENTERED,
             14(1)'|',
             16(35) 'Vehicle Number' CENTERED,
             52(1)'|',
             54(10) 'Pack' CENTERED,
             65(1) '|',
             67(10) 'Movm Type',
             78(1) '|',
             /1 '|',
             1(78) sy-uline.
      LOOP AT sd_credit_bal1 WHERE benid = vbenid AND botcp = vbotcp.
        WRITE: /1'|',
               3(10) sd_credit_bal1-audat,
               14(1) '|',
               16(35) sd_credit_bal1-benid,
               52(1) '|',
               54(10) sd_credit_bal1-botcp,
               65(1) '|',
               67(10) sd_credit_bal1-movmt,
               78(1) '|',
               /1'|',
               1(78) sy-uline.
      ENDLOOP.
    Replay if any Problem related to this Code.
    Kind Regards,
    Faisal

  • Reporting: using operators with relative selection

    Dear all,
    i am facing an problem when trying to create a certain report.
    The requirement is to gather all opportunities for which the sales phase has started more than 1 month ago.
    Phase start date is a characteristic you can use using data sources for opportunity header.
    However, to select on phase start  date (an any other type of date characteristic) you can only use operators (is, is less than, is greater than, ...) with a fixed date (for example: is less than 01.03.2015) or you can use a relative selection (last week, last month, last 4 days, ...).
    I need to be able to achieve the following: "phase start date" "is less than" "last month"
    Is there a way we can do this?
    Regards,
    Michael

    Hi Michael,
    You should design the new reporting using existing data source 'OPPORTUNITY HEADER'.
    Step 1. Define report and data source
    Step 2. Select Key Figures
    Step 3. Select Characteristics
    Step 4. Characteristics Properties : In this step you select Phase start date and make the value selection as 'FIXED VALUE SELECTION', in fixed value selection click on more option button ( +-> sign) now this will give the option for relative selection.
    Step 5, 6 and 7 as standard steps as you  have to follow them.
    I have attach the screenshot of Phase start date, just follow as defined in the screenshot:
    This will the issue that you have.
    Cheer! Anil Poply

  • Problem about selecting waveform in waveform graph

    Hi all:
    I am developing a project by Labview. Now I meet a problem about selecting the waveform in the waveform graph.
    I am not sure whether it is possible about my idea.
    for example:
    In the waveform graph,  the different waveforms from a couple of channels are displayed. and then I want to select one waveform of them, and corresponding data about this waveform are shown. 
    Thanks so lot
    regards

    hanwei wrote:
    1.  can I zoom in and out in that "waveform graph"??
    You can do this using the graph palette. Just make it visible. The middle control allows you to zoom.
    2.  can I display the plot array or plot index that I select in the waveform graph?
    You can connect the same wire that goes to the ActivePlot property node to an indicator.
    3.  I build a sample codes for my project, in which , I used a random number generater to simulate a DAQmx data collection, and generate a overlapping waveform in the waveform graph.
         but it seems the program is not stable, when i first run the codes, it is ok, and I can select the plot what I want. but after I stop and restart the program, there is error message about "Property Node".
         it seems something wrong about the "waveform graph properties"
    I attached my codes here, anybody know what wrong about it?
    For some strange reason the property node is "messed up". I've seen this happen sometimes with graphs. I don't know what causes it, and the only way I've found to fix the problem is to delete the graph, put a new one on the front panel, and recreate the property nodes. I've typically seen this happen when copying code from another VI that has a graph with property nodes, as I suspect you did. If you delete the graph, put a new one on there, and recreate the property node you should be OK.
    That said, a few comments regarding the code:
    The architecture seems to be a mish-mash of operations, and I'm thinking that you probably want to look at using a producer-consumer architecture. Your producer loop responds to events, and the consumer loop does your DAQ collection.
    You have a race condition with your use of the "size(s) 2" local variable.
    Avoid right-to-left wires.
    The method of creating your arrays seems convoluted. However, since you said you will actually be getting the data from a DAQ system, the actual project code will likely be considerably different.

  • Related selects using radio button

    Hi All,
    I wanna use radio button with three options and one dropdown
    box .
    my problem is i wanna choose option from radio button and run
    the related query to get the values into dropdown box and then
    choose the value from drop down and submit it to another page.
    Any ideas ? please help me.
    Thanks in advance

    Google coldfusion related selects and adjust the javascript
    so that you are using radio buttons instead of a select.
    I recently posted my own code. Look for the keyword
    etiologydetail.

  • Related Selects

    I'm trying to get a couple of related selects working based
    on Dan Bracuk's code. Below I'll write my interpretation.
    1 - On top of cfm page:
    <cfquery name="Cliente" datasource="intraartis">
    SELECT ClienteID, ClienteNome
    FROM dbo.cliente_tbl
    ORDER BY ClienteNome
    </cfquery>
    <cfquery name="Contacto" datasource="intraartis">
    SELECT ClienteID, ContactoID, ContactoNome
    FROM dbo.contactos_tbl
    ORDER BY ContactoNome
    </cfquery>
    2 - Within the Head tags:
    <script language="javascript">
    <cfset
    idArray=ListToArray(ValueList(Contacto.ContactoID))>;
    <cfset
    compareArray=ListToArray(ValueList(Contacto.ClienteID))>;
    <cfset
    descriptionArray=ListToArray(ValueList(Contacto.ContactoNome))>;
    function selectChange(selectedValue)
    <cfoutput>
    var #toScript(idArray, "theIdArray")#;
    var #toScript(compareArray, "theCompareArray")#;
    var #toScript(descriptionArray, "theDescriptionArray")#;
    </cfoutput>
    var i=0;
    var j=0;
    var len=theIdArray.length;
    document.forms['ProjectoFrm'].Contacto.options.length=0;
    for(i=0;i<len;i++)
    if(theCompareArray==selectedValue)
    document.forms['ProjectoFrm'].Contacto.options[j]=new
    Option(theDescriptionArray,theIdArray);
    j++;
    return true;
    </script>
    3 - Inside of the form tags:
    <cfselect query="Cliente" name="ClienteID"
    onChange="selectChange(this.Value);" value="ClienteID"
    display="ClienteNome" selected="#selectedCliente#"/>
    <cfif existingrecord>
    <cfselect query="Contacto" name="ContactoID"
    value="ContactoID" display="ContactoNome"
    selected="#selectedContacto#"/>
    <cfelse>
    <select name="ContactoID">
    <option value="1">Not Updated</option>
    </select>
    </cfif>
    4. It comes up with the COLDFUSION error: Variable
    SELECTEDCLIENTE is undefined.
    Viewing the source of the page, the arrays are built.
    Could Dan Bracuk or someone else give me some help?
    Thanks.
    Manuel

    Thanks Dan for your reply.
    I´m pasting your code as it is on the post of
    02/26/2007:
    I only had to do this once, and it works. Here it is
    <cfquery name="Etiology" datasource="burns">
    select EtiologyID, Etiology
    from burns_Etiology
    where show = <cfqueryparam cfsqltype="cf_sql_char"
    value="Y">
    </cfquery>
    <cfquery name="EtiologyDetail" datasource="burns">
    select EtiologyID, EtiologyDetailID, detail
    from burns_EtiologyDetail
    where show = <cfqueryparam cfsqltype="cf_sql_char"
    value="Y">
    </cfquery>
    // arrays to make selectcontrol script work
    idArray =
    ListToArray(ValueList(EtiologyDetail.EtiologyDetailID));
    compareArray =
    ListToArray(ValueList(EtiologyDetail.EtiologyID));
    descriptionArray =
    ListToArray(ValueList(EtiologyDetail.detail));
    another query for the current value, if applicable
    <script language="JavaScript">
    function selectChange(selectedValue)
    // changes the options for etilogy detail based on selection
    of etiology
    <cfoutput>
    var #toScript(idArray, "theIdArray")#;
    var #toScript(compareArray, "theCompareArray")#;
    var #toScript(descriptionArray, "theDescriptionArray")#;
    </cfoutput>
    var i = 0;
    var j = 0;
    var len = theIdArray.length;
    // clear the detail select control
    document.forms['dataForm'].EtiologyDetail.options.length = 0;
    for ( i = 0; i < len; i++)
    if (theCompareArray == selectedValue)
    document.forms['dataForm'].EtiologyDetail.options[j] = new
    Option(theDescriptionArray,theIdArray);
    j++;
    } // end if
    } // end loop
    return true;
    } // end function
    </script>
    Function gets called here
    <th>Etiology</th>
    <td><cfselect query="Etiology" name="Etiology"
    onChange="selectChange(this.value);"
    value="Etiologyid" display="Etiology"
    selected="#selectedEtiology#" />
    </td>
    <th>Detail</th>
    <td colspan="3">
    <cfif existingrecord>
    <cfselect query="etdetail" value="EtiologyDetailID"
    display="detail"
    name="EtiologyDetail" selected="#selectedEtiologyDetail#"
    />
    <cfelse>
    <select name="EtiologyDetail" >
    <option value="1">Not Updated</option>
    </select>
    </cfif>
    I don´t see where you set the variable
    "selectedEthiology".
    Hope this helps.

  • I have a problem with safari. It doesn't load any sites, thing that browers like chrome do, so it isn't a problem related to internet connections. The loading always blocks at 1/10

    I have a problem with safari. It doesn't load any sites, thing that browers like chrome do, so it isn't a problem related to internet connection. The loading always blocks at 1/10. I don't know what do to. I CAN'T use it. I have a macbook pro 15 retina late 2013 updated to Yosemite

    1. Power off the router. Unplug it from the wall. Wait a while.
        Plug it back to the wall. Power the router on. Wait until all the lights are lit properly. It will take a while.
        Restart the computer.
        Start up in Safe Mode.
        http://support.apple.com/kb/PH14204
    2. Delete Caches.db
        Close all windows and quit all applications.
        Hold "option" key down and click "Go" menu in the Finder menu bar.
        Select "Library" from the dropdown.
        Library > Caches > com.apple.Safari > Caches.db
        Right click the Caches.db file and select "Move To Trash.
        Close windows and relaunch Safari.
    3. Empty Caches
        Safari > Preference > Advanced
        Checkmark the box for "Show Develop menu in menu bar".
        Develop menu will appear in the Safari menu bar.
        Click Develop and select "Empty Caches" from the dropdown.
    4. Delete Cookies
        Safari > Preferences > Privacy > Cookies and other website data:
        Click “Remove All Website Data”.

  • Related selects in JS

    I'm trying to build an email list for parents to receive
    school- and grade-specific emails. I'm building related selects to
    choose the school, and then the grades at that school (which vary
    based on elementary/middle/high). I've grabbed working JS code and
    changed it, and of course it doesn't work for me. :) It displays
    the schools fine, but doesn't change the grades box. When I view
    the source, it is creating the appropriate arrays, but they're not
    being implemented.
    I'm attaching the code with the handy "attach code" button.
    :) I can provide the source data as well if that would help.
    And next, of course, I'll need to pass these values to
    another page to use. If anyone has insight on *that*, I'd
    appreciate being pointed in a good direction.
    (I feel like such a moron)

    I only had to do this once, and it works. Here it is
    <cfquery name="Etiology" datasource="burns">
    select EtiologyID, Etiology
    from burns_Etiology
    where show = <cfqueryparam cfsqltype="cf_sql_char"
    value="Y">
    </cfquery>
    <cfquery name="EtiologyDetail" datasource="burns">
    select EtiologyID, EtiologyDetailID, detail
    from burns_EtiologyDetail
    where show = <cfqueryparam cfsqltype="cf_sql_char"
    value="Y">
    </cfquery>
    // arrays to make selectcontrol script work
    idArray =
    ListToArray(ValueList(EtiologyDetail.EtiologyDetailID));
    compareArray =
    ListToArray(ValueList(EtiologyDetail.EtiologyID));
    descriptionArray =
    ListToArray(ValueList(EtiologyDetail.detail));
    another query for the current value, if applicable
    <script language="JavaScript">
    function selectChange(selectedValue)
    // changes the options for etilogy detail based on selection
    of etiology
    <cfoutput>
    var #toScript(idArray, "theIdArray")#;
    var #toScript(compareArray, "theCompareArray")#;
    var #toScript(descriptionArray, "theDescriptionArray")#;
    </cfoutput>
    var i = 0;
    var j = 0;
    var len = theIdArray.length;
    // clear the detail select control
    document.forms['dataForm'].EtiologyDetail.options.length = 0;
    for ( i = 0; i < len; i++)
    if (theCompareArray
    == selectedValue)
    document.forms['dataForm'].EtiologyDetail.options[j] = new
    Option(theDescriptionArray,theIdArray
    j++;
    } // end if
    } // end loop
    return true;
    } // end function
    </script>
    Function gets called here
    <th>Etiology</th>
    <td><cfselect query="Etiology" name="Etiology"
    onChange="selectChange(this.value);"
    value="Etiologyid" display="Etiology"
    selected="#selectedEtiology#" />
    </td>
    <th>Detail</th>
    <td colspan="3">
    <cfif existingrecord>
    <cfselect query="etdetail" value="EtiologyDetailID"
    display="detail"
    name="EtiologyDetail" selected="#selectedEtiologyDetail#"
    />
    <cfelse>
    <select name="EtiologyDetail" >
    <option value="1">Not Updated</option>
    </select>
    </cfif>

  • Problem related to PS CS6 ext. on Mac.  Nikon DSLR D610 raw file can not be opened

    Problem related to PS CS6 ext. on Mac. Installation is OK but I can't open picture from my Nikon D610 (Raw NEF format). I get a message "can not open this format ...". Checking Help menu to see if I miss an update the message I get is that I'm up-to-date but at the end Nikon D610 (format supported of course) files can not be opened . JPEG are OK but I work with raw files. Thanks

    What OS are you running: 10.x.x?
    What version of the Camera Raw plug-in do you have?  Do (About) Plug-ins / Camera Raw to find out.
    You need at least ACR 8.3 to open D610 files.  If the Help / Updates process does not work, then there is a manual install process you can do.  The page with the download is for when people accidentally updated to ACR 8.4 and need to roll back to ACR 8.3 due to their OS being incompatible, but the installer on that page works even if you haven’t erroneously updated to ACR 8.4:
    http://helpx.adobe.com/x-productkb/multi/camera-raw-84-support-policy.html

  • Problem with "SELECT...FOR UPDATE OF..." and "POST command" combination

    Problem with "SELECT...FOR UPDATE OF..." and "POST command" combination
    Problem in committing transactions in Multiple Forms (Oracle Forms) with POST built-in command:
    Consider that the following statements are written in WHEN-WINDOW-CLOSED trigger of a called form.
    Statements in called form (Form name: FORM_CHILD):
    go_block('display_block') ;
    do_key('execute_query') ;
    -- Data from table_b will be populated in this block, based on the value of COLUMN_1 obtained
    -- from TABLE_A.
    -- Example: If the value of COLUMN_1 is 10, then all the matching records from TABLE_B, which
    -- are inserted with value 10 in TABLE_B.COLUMN_1 will be fetched and shown here.
    if user_choice = 'YES' then
    commit ;
    else
    rollback ;
    end if ;
    Statements in calling forms:
    There are two calling forms having following statements and it is going to call the above said called form.
    CALLING FORM 1
    Statements in KEY-COMMIT trigger:
    post;
    call_form(form_child, no_activate) ;
    Statements in ON-INSERT trigger:
    select column_1
    from table_a
    for update of column_1
    where column_2 = 'X' ;
    update table_a
    set column_1 = column_1 + 1
    where column_2 = 'X' ;
    insert into table_b ...;
    insert into table_b ...; Statements in KEY-COMMIT trigger:
    post;
    call_form(form_child, no_activate) ;
    CALLING FORM 2:
    Statements in ON-INSERT trigger:
    select column_1
    from table_a
    for update of column_1
    where column_2 = 'X' ;
    update table_a
    set column_1 = column_1 + 1
    where column_2 = 'X' ;
    insert into table_b ...;
    insert into table_b ...;
    insert into table_b ...;
    Our understanding:
    Assume that both the forms are running from two different machines/instances, issuing commit at the same time. In this case, forms will start executing the statements written in ON-INSERT trigger, the moment POST command is executed. Though the commit is issued at the same time, according to oracle, only one of the request will be taken for processing first. Assume that calling form 1 is getting processed first.
    So, it fetches the value available in COLUMN_1 of TABLE_A and locks the row from further select, update, etc. as SELECT...FOR UPDATE command is used (note that NOWAIT is not given, hence the lock will be released only when COMMIT or ROLLBACK happens) and proceed executing further INSERT statements. Because of the lock provided by the SELECT...FOR UPDATE command, the statements in calling form 2 will wait for the resource.
    After executing the INSERT statements, the FORM_CHILD is called. The rows inserted in to TABLE_A will be queried and shown. The database changes will be committed when user closes the window (as COMMIT is issued in its WHEN-WINDOW-CLOSED trigger). Then the SELECT...FOR UPDATE lock will be released and calling form 2's statements will be executed.
    Actual happenings or Mis-behavior:
    Calling form 2 starts executing INSERT statements instead of waiting for SELECT...FOR UPDATE lock. Also, the value selected from TABLE_A.COLUMN_1 is same in both the calling forms, which is wrong.
    The rows inserted into TABLE_B are having similar COLUMN_1 values in calling form 2 and they are fetched and shown in the called form FORM_CHILD.
    Note that in calling form 2 also POST only is issued, but the changes posted there are accessible in calling form 1 also, which is wrong.
    Kindly suggest us as to how to fix above problem. It will be much use, if you can send us the information regarding the behavior of Oracle Forms POST built-in also.
    Our mail ID: [email protected]
    Thanks a lot in advance.

    You have several problems:
    1. On-Insert will ONLY run if you have created a new record in a base-table block. If you haven't done that, then the POST command will not cause it to run.
    2. Select for update without a "no wait" will lock records for the first form, but when the second form tries this, it will hit the ORA-00054 exception, and will NOT wait. The only way you could make it wait is to issue an UPDATE sql command, which is not such a good way to go.
    All POST does is issues SQL insert or update commands for any changes the user has made to records in a form's base-table blocks, without following with a Commit command.
    Also understand that Commit is the same as Commit_Form, and Rollback is the same as Clear_Form. You should read up on these in the Forms help topics.

  • HT4623 Is this the most up to date article on up dating the iPhone - it there anything about the problems relating to the up date to OS 6 - my G3 no longer works and Apple seems to have gone to ground.  No Genius bar appointments available for a week!

    Is this the most up to date article on up-dating the iPhone OS - is there anything about the problems relating to the up-date to OS 6 - my G3 no longer works and Apple seems to have gone to ground.  No Genius bar appointments available for a week!

    iOS 7 devices need iTunes 11.1 or newer to sync.  Depending upon your computer and the OS it is running, you may not be able to upgrade to iTunes 11.1 based on the requirements for iTunes 11.1.  What computer and OS are you running your iTunes on?  From the iTunes download pages I see the requiorements are:
    Macintosh System Requirements
    Mac computer with an Intel Core processor
    OS X version 10.6.8 or later
    400MB of available disk space
    Broadband Internet connection to use the iTunes Store
    Windows System Requirements
    PC with a 1GHz Intel or AMD processor and 512MB of RAM
    Windows XP Service Pack 2 or later, 32-bit editions of Windows Vista, Windows 7, or Windows 8
    64-bit editions of Windows Vista, Windows 7, or Windows 8 require the iTunes 64-bit installer
    400MB of available disk space
    Broadband Internet connection to use the iTunes Store

  • Problem with selecting text in Adobe Reader XI

    Hi all, I am encountering a problem with Adobe Reader XI and it is very strange I could not find an alike issue on the internet so I guess I have to submit a question with it.
    So here it is, I am using Adobe Reader XI Version 11.0.2, operating system: Windows 7. I do not know it starts from when but it has the problem with selecting text - to be copied in pdf documents. I ensure that the documents are not scanned documents but word-based documents (or whatever you call it, sorry I cannot think of a proper name for it).
    Normally, you will select the text/paragraph you want to copy and the text/paragraph will be highlighted, but the problem in this case that I cannot select the text/paragraph, the blinking pointer (| <-- blinking pointer) will just stays at the same location so I cannot select/highlight anything to be copied. It happens oftenly, not all the time but 90%.
    This is very annoying as my work involves very much with copying text from pdf documents, I have to close the pdf file and then open it again so I can select the text but then after the first copying or second (if I am lucky), the problem happens again. For a few text I have to type it myself, for a paragraph I have to close all opening pdf documents and open again so I could select the paragraph to copy. I ran out of my patience for this, it causes trouble and extra time for me just to copying those texts from pdf documents. Does this problem happen to anyone and do you have a solution for this? I would much appreciate if you could help me out, thank you!

    Yeah,  I totally agree, this is very strange. I have always been using Adobe Reader but this problem only occurred ~three months ago. It must be that some software newly installed I think. But I have no idea.
    About your additional question, after selecting the texts and Ctrl + C, the texts are copied and nothing strange happens. It's just that right after I managed to copy the texts, it takes me a while to be able to select the texts again. For your information, I just tested to select the texts and then pressed Ctrl, the problem happened. And then I tried pressing C and then others letters, it all led to the problem.
    I guess I have to stick with left-clicked + Copy until I/someone figure the source of this problem. Thanks a lot for your help!

  • The problem related to wireless service Wi-Fi connectivity Never work properly

    Hi
    i am bashair from KSA
    I have iPhone 5, you update your iPhone to version 6.1.3
    The problem related to wireless service Wi-Fi connectivity
    Never work properly, you try Method posed but did not succeed..
    i need help me please
    thanks..

    UPDATE
    Hey this is totally weird. I haven't done jailbreak at all and I won't But how is possible that default apps such as Safari and Appstore have the problem I've mentioned before and Skyfire works perfectly without any trouble.
    So to sum up:
    Safari: loading stucks after few seconds on wi-fi, mostly doesn't load pictures
    Appstore: loading stucks after few seconds on wifi and it keeps saying "loading"
    Facebook and Youtube: doesn't load pictures
    SKYFIRE: loads everything without any trouble
    and completely everything works on Edge...
    So tell me W.T.F. :-D

Maybe you are looking for

  • Multiple clusters on single node

    Hello,           If I want to share server resources between 2 customers, but I want them both to have their own independent cluster, how is this accomplished? Can I have one cluster that runs off one interface/network, and the other cluster of anoth

  • G4 starts but freezes while trying to load

    My G4 has been acting strangely lately - occasionally when I boot up, nothing lights up. Then, a few weeks ago, I booted up and it said the computer could not load. These were both temporary occurences... but last night I rebooted my computer after i

  • TS1702 How do u find the developer contact details for an app?

    I bought an ipad app that won't open, how do. Contact the developer for assistance?

  • 10g UIX UIExtensions

    This is sort of a followup to a UIX thread: Refer to 'parent' 'uix.current'? The extension I posted there appears to be working, but the compiler always complains that it is 'unable to parse binding' on my UIExtension classes. It's just a warning, an

  • Pics from Phone to Mac

    This is a really stupid quetion, but ... how do I get pics I've taken on my iPhone off of the phone and onto my MacBook Pro? Thanks.