Generating Wizard layout for updating record

Is there a way of using JHeadstart to generate a wizard to be used for updating records (and not for inserting) ?
I want to be able to use a table-form layout, but have the update of the record via the form to be presented in a wizard layout.
Cheers,
Brent

Brent,
Yes, JHeadstart can also be used for generating a wizard to do updates. See the "Attention" at the end of section 5.8 in the JHeadstart 10.1.3.2 Developer's Guide (http://download.oracle.com/consulting/jhsdevguide1013.pdf).
Hope this helps,
Sandra Muller
JHeadstart Team
Oracle Consulting

Similar Messages

  • This window service has timer for update record once in a day at 5 pm.

    Hi Guys Please help me.
    Actully i create a window service. This window service has timer for update record once in a day at 5 pm.
    I have write a code but it is not working fin
    Here is my code.
    App.Config File:-
    <appSettings>  
        <add key="IsTrace" value="YES"/>
        <add key="SourceServerPath" value="Server=DATASERVER\SQL2008R2;database=WDSBHN;User ID=Wireless;pwd=chetu@123"/>
        <add key="ArchiveServerPath" value="Server=CHETUIWK091\SQL2008R2;database=Demo;User ID=sa;pwd=Chetu@123"/>
        <add key="ReportHour" value="22"/>
        <add key="ReportMinut" value="01"/>
        <add key="ReportSecond" value="20"/>
        <add key="ReportMilisecond" value="230"/>
        <add key="DailyTimer" value="tmrProductionDataTransfer"/>
        <add key="MonthlyTimer" value="tmrProductionCleanUp"/>
        <add key="ActionParameter" value="WDS-DataTransfer"/>
      </appSettings>   
    Vb.Net Code:-
    Protected Overrides Sub OnStart(ByVal args() As String)
            ' Add code here to start your service. This method should set things
            ' in motion so your service can do its work.
            Try
                LoggingTracing.WriteTrace("DataTransfer Service START " & Now.ToLongDateString & " " & Now.ToLongTimeString())
                '***Get the Time of service run
                Dim svcRunTime As System.DateTime = Configuration.ConfigurationManager.AppSettings("ServiceRunTime")
                '***differance of these two time
                Dim ts As TimeSpan = DateTime.Now.Subtract(svcRunTime)
                '***production data transfer
                tmrProductionDataTransfer.Enabled = True
                tmrProductionDataTransfer.Interval = 1000
                tmrProductionDataTransfer.Start()
            Catch ex As Exception
                LoggingTracing.WriteError(ex.ToString())
            End Try
        End Sub
    Private Sub tmrProductionDataTransfer_Elapsed(sender As Object, e As Timers.ElapsedEventArgs) Handles tmrProductionDataTransfer.Elapsed
            Try
                Dim time As Date = Date.Now
                Dim currHour As Integer
                Dim currMinute As Integer
                Dim currnSecond As Integer
                Dim reportHour As Integer
                Dim reportMinute As Integer
                Dim reportSecond As Integer
                Dim reportMiliSecond As Integer
                Dim actionParameter As String = Configuration.ConfigurationManager.AppSettings("ActionParameter")
                Dim actionTimerName As String = Configuration.ConfigurationManager.AppSettings("DailyTimer")
                currHour = time.Hour
                currMinute = time.Minute
                currnSecond = time.Second
                reportHour = Convert.ToInt32(Configuration.ConfigurationManager.AppSettings("ReportHour"))
                reportMinute = Convert.ToInt32(Configuration.ConfigurationManager.AppSettings("ReportMinut"))
                reportSecond = Convert.ToInt32(Configuration.ConfigurationManager.AppSettings("ReportSecond"))
                reportMiliSecond = Convert.ToInt32(Configuration.ConfigurationManager.AppSettings("ReportMilisecond"))
                If currHour = reportHour AndAlso currMinute = reportMinute AndAlso currnSecond = reportSecond Then
                    ObjProductionDataTransfer.CopyDataToArchiveServerDayWiseDL(Configuration.ConfigurationManager.AppSettings("SourceServerPath"), Configuration.ConfigurationManager.AppSettings("ArchiveServerPath"),
    actionTimerName, time, actionParameter)
                End If
            Catch ex As Exception
                LoggingTracing.WriteError(ex.ToString())
            End Try
        End Sub
    It is running at 5 pm , but run 3 times, for that records has updated 3 time 
    How i can resolve it, If any problem in this code please give me the write direction or code. And this thing i have been searching for 3 days , but stile i didn't get any solution
    sonesh

    Sonesh,
    Sorry but you have posted to a forum that deals exclusively with questions/issues about customizing and programming Microsoft Project, a planning and scheduling application. I suggest you delete this post and find a more appropriate forum.
    John

  • Sequence and procedure for updating records

    I USED THE FOLLOWING CODE TO UPDATE THE COLUMNS
    CURRT_USER_ID,
    uPDATED_BY,
    UPDATED_DATE
    cURRT_USER_IS = SELECT USER FROM DUAL;
    UPDATED_BY = CTUT_ID ;
    UPDATED_DATE = SYSDATE
    pROCEDURE COMPILED FINE AND TRIGGER CREATED FINE
    bUT WHEN I UPDATE IT IS NOT UPDATING THE COLUMNS
    CREATE OR REPLACE PROCEDURE UPD_CONSTITUENT(
    CURRT_USER_ID out varchar2,UPDATED_DATE out DATE,UPDATED_BY out varchar2,CTUT_ID OUT NUMBER)
    IS
    puser varchar2(20);
    pdate date;
    pby varchar2(20);
    pid number;
    x_seq exception;
    pragma exception_init(x_seq, -8004);
    BEGIN
    SELECT USER,SYSDATE INTO puser,pdate from dual;
    CURRT_USER_ID := puser;
    UPDATED_DATE := Pdate;
    UPDATED_BY := ctut_id;
    EXCEPTION WHEN x_seq THEN
    RAISE_APPLICATION_ERROR(-8004, 'MY_SEQ has run out of numbers!');
    END UPD_CONSTITUENT;
    CREATE TRIGGER TU_CONSTITUENT
    BEFORE INSERT ON K_CONSTITUENT FOR EACH ROW
    BEGIN
    UPD_CONSTITUENT(:NEW.CURRT_USER_ID,:NEW.UPDATED_DATE,:NEW.UPDATED_BY,:NEW.CTUT_ID);
    END TU_CONSTITUENT;

    IT WORKED FOR ME
    i GAVE INSERT INSTEAD OF UPDATE

  • Problem  for updating records in to data targets

    Murali/sreenivas.
    my processchain is working fine ..but upto Persistent Staging Area data is getting updated perfectly but after that daily i need to run
    DTP manually , to avoid this what sholud i do??? i.e.
    selecting particular info source and then Persistent Staging Area and then selecting particular request in PSA and selecting
    update with scheduler.... by rightcliking on that... and then
    after selecting this and then selecting immediate update...then Persistent Staging Area  data is getting updated in to particular data targets...
    i want to the data to be updated immediately once data is succefully reached Persistent Staging Area
    Edited by: ganandkumar on Sep 13, 2010 7:15 AM
    Edited by: ganandkumar on Sep 13, 2010 7:16 AM

    Hi,
    Are you using BW 3.5 or BI 7.0.
    If you are in BW ,then please in the infopackage make the setting psa and data target in parallel.
    If you are in BI 7.0,then include the step DTP.
    Thanks,
    Saveen Kumar

  • BAPI for updating records in usobt_c from internal table

    Can anyone help in implementing this functionality or suggest me which BAPI to use.

    Can anyone help in implementing this functionality or suggest me which BAPI to use.

  • Update Records with XML

    Hi,
    I Understand that with XML save you can insert a row into a database however I am very confused about the ability of using XML to update a record.
    Can I use XML save to update a record? Eg if I have a primary key will it update instead of save?
    Are there any best practices for updating records when passed an XML record?
    Many Thanks

    A common way to pass data with custom events is to extend the
    event class to create a new version which has a reference to a var
    of the datatype you are passing, and then in your metadata type the
    event to your custom event class. If that makes sense
    [Event(name="customEvent", type="events.CustomEvent")]

  • To genrate individual file for every record.

    Hi Experts,
    I am receiving a message with multiple records. I need to generate individual files for every record.
    How can it be done?
    Thanks
    Karthik

    Bhatia,
    FCC is file content conversion. If your sender communication channel is file and the file is any fixed length or with any separator then you can use this option in your file sender communication channel.
    Regards,
    ---Satish

  • Update Record Server Behavior blows error (its part of CS5.5 standard installation!)

    One wouldn't expect the code supplied by a MAJOR CORPORATION and WEB DEVELOPMENT TECHNOLOGY LEADER to blow an error on one of the server behaviors it supplies as part of its standard install. But then again, there is reality.  The UpdateRecord.js, to be found in your installation on Windows 7 at ..ProgramFiles(x86(/Adobe Dreamweaver CS5.5/configuration/ServerBehaviors/Php_MySQL/UpdateRecord.js  causes an error when it is selected from the SERVER BEHAVIORS menu.  This happens BEFORE you I enter anything into the fields.  The error states:  "While executing onLoad in  UpdateRecord.htm, the following JavaScript error(s) occured: At line 687 of file "........UpdateRecord.js":  name has no properties.  I've looked at the code and it is beyond my comprehension.  Something about the NAME of a value in the node list.... I just don't have the chops to go rewriting Adobe's code.  If I did, I'd be making the big bucks.  Does anybody know what to do about this? About my system:  Windows 7, 64bit,   CS5.5 (on a lease so it is up to date) using PHP and MySQL, on a remote dedicated server running Apache on Linux.   :<)McFrisco

    Ok, I deserved that spanking.  I was just frustrated.  Sorry for the rant. 
    I've managed to figure out a workaround on this.  There really is something wacky going on with Dreamweaver and the Update Record handler.  Here's what I did:   
    How to trick DREAMWEAVER into writing an UPDATE RECORD. 
    Dreamweaver's server behavior for Update Record doesn't work correctly sometimes.  The symptom of this is that when you try to fill in the popup form provided by the Server Behaviors/Update Record menu item, it doesn't allow you to choose form fields to update to the database if they are posted there by a previous page.  It only allows you to choose them if they are bound to the database.  This doesn't do any good, because you are updating a record with the information from the database you want to update, NOT with new information.  Kind of weird... But here's the way to get around it.  Its a bit tedious but it works.   
    1.  On a clean php page, set up a form with the input fields matching the database fields you want to update.  This page is to be used as the RESULT page of a form submitted on a previous page where the UPdate Record won't work due to conflicts, plugins, or some other unknown reason.   
    2.  Connect to the database table you want to update,  and set up a new RECORDSET on the page. 
    3.  Bind all the form fields to the appropriate database fields. 
    4.  Do an Update Record behavior based on this form.  This will actually do nothing but update the record with the stuff that is already in the record, as noted above.   
    5. Delete the php code that sets up the record set.  But, LEAVE THE Update Record code alone!  It is correct.   
    6.  Change the bindings of all the fields in the FORM to the $_POST[] variables passed from the form on the previous page. (Make sure the previous page form uses the POST, not the GET method.)
    Now, when you submit the form it will pick up the values in the form, which have been passed from the previous page's form.

  • Updated records using Dynamic FORMS_DDL

    Hello everybody:
    I need help for you guys. I'm working with Form9i and created a push button that when I press it, it should be updated some record depending of some conditions. I read that with dynamics FORMS_DDL, I can able to perform it, but when I put the below code in the “WHEN-BUTTON-PRESSED” trigger I get an “Error” that meaning that the forms was not success. Please, somebody tell me where is the error. Thanks.
    if (:CONTROL_BTN.CHK_FINAL = 'N') then
         forms_ddl('update aapt_checklists
                                            set achk_reviewed_date = ' || :CONTROL_BTN.DATE_LETTER ||
    ' where achk_item in (select achk_item
                                            from aapt_checklists, aapt_reviews
                             where ' || :global.where_updated ||
    ' and achk_reviewed_date is null
    and achk_1st_notification_date is null
    and arev_seq = achk_arev_seq)     
    and achk_1st_notification_date is null
    and achk_reviewed_date is null');
    end if;
    if (form_success) then
         message('OK');
    else     
    message('Error');
    end if;

    You don't need dynamic SQL for that. Here is what you can do (Note the new v_fmt variable, and the update SQL below):
    DECLARE
      def_where varchar2(500) := NULL;
      v_month varchar2(2)   := :CONTROL_BLOCK.Q_MONTH;
      v_day   varchar2(2)   := :CONTROL_BLOCK.Q_DAY;
      v_year  varchar2(4)   := :CONTROL_BLOCK.Q_YEAR;
      v_fmt   varchar2(10);
      v_date varchar2(20) := NULL;
    PROCEDURE check_date (in_date IN varchar2) IS
      al_id     Alert;
      al_button Number;
      temp_date date := NULL;
    BEGIN
      temp_date := to_date(in_date, 'MM/DD/YYYY');
    EXCEPTION
      when others then
        al_id := Find_Alert('CFG_ERROR');
        Set_Alert_Property(al_id, alert_message_text, 'You have selected an Invalid Date');
        al_button := Show_Alert( al_id );
        raise FORM_TRIGGER_FAILURE;
    END;
    BEGIN
      -- Criteria entered as MM/DD/YYYY
      if (v_month <> '00') and (v_day <> '00') and (v_year <> '0000') then
        v_date := v_month||'/'||v_day||'/'||v_year;
        v_fmt  := 'MM/DD/YYYY';
        check_date (v_date);
      -- Criteria entered as MM/DD
      elsif (v_month <> '00') and (v_day <> '00') and (v_year = '0000') then
        v_date := v_month||'/'||v_day;
        v_fmt  := 'MM/DD';
        check_date (v_date||'/'||'2000'); -- Hardcoded 2000 to check all possible MM/DD combos including Leap Year
        def_where := ' to_char(arev_appl_received_date, ''MM/DD'') = ''' || v_date || '''';
      -- Criteria entered as MM/YYYY
      elsif (v_month <> '00') and (v_day = '00') and (v_year <> '0000') then
        v_date := v_month||'/'||v_year;
        v_fmt  := 'MM/YYYY';
        def_where := ' to_char(arev_appl_received_date, ''MM/YYYY'') = ''' || v_date || '''';
      -- Criteria entered as MM
      elsif (v_month <> '00') and (v_day = '00') and (v_year = '0000') then
        v_date := v_month;
        v_fmt  := 'MM';
        def_where := ' to_char(arev_appl_received_date, ''MM'') = ''' || v_date || '''';
      -- Criteria entered as DD/YYYY
      elsif (v_month = '00') and (v_day <> '00') and (v_year <> '0000') then
        v_date := v_day||'/'||v_year;
        v_fmt  := 'DD/YYYY';
        def_where := ' to_char(arev_appl_received_date, ''DD/YYYY'') = ''' || v_date || '''';
      -- Criteria entered as DD
      elsif (v_month = '00') and (v_day <> '00') and (v_year = '0000') then
        v_date := v_day;
        v_fmt  := 'DD';
        def_where := ' to_char(arev_appl_received_date, ''DD'') = ''' || v_date || '''';
      -- Criteria entered as YYYY
      elsif (v_month = '00') and (v_day = '00') and (v_year <> '0000') then
        v_date := v_year;
        v_fmt  := 'YYYY';
        def_where := ' to_char(arev_appl_received_date, ''YYYY'') = ''' || v_date || '''';
      end if;
      update aapt_checklists
        set achk_reviewed_date = :CONTROL_BTN.DATE_LETTER
        where achk_item in
        in (select achk_item
                from aapt_checklists, aapt_reviews
                where to_char(arev_appl_received_date,v_fmt) = v_date
                    and achk_reviewed_date is null
                    and achk_1st_notification_date is null
                    and arev_seq = achk_arev_seq)
            and achk_1st_notification_date is null
            and achk_reviewed_date is null;
      --Condition for updated records in aapt.checklists table
      :global.where_updated := def_where;
      --Only when "INCOMPLETE - NEED ADD'L INFO" Status is selected
      def_where := def_where || ' and arev_status = 1427';
    END;

  • DW CS3 Insert Record/Update Record: Record Form Wizard Error

    I have just bought Dreamweaver CS3 and I am running into some
    problems. I also have Dreamweaver MX 2004. When I use the Insert
    Record: Record Insertion Form Wizard on my Dreamweaver MX 2004 I
    have no problems using the Insert Record function. However, when I
    use the Dreaweaver CS3, I am running into errors. The error I am
    getting is the following..."Apache HTTP Server has encountered a
    problem and needs to close. We are sorry for the inconvenience."
    As well, when I use the update form wizard, when you place
    all your settings and place a redirection after updating to a page
    it does not do it, it stays on the same page and gives me the
    following error..."Warning: Cannot modify header information -
    headers already sent in C:\wamp\www\edit.php on line 50".
    This happens on all internet browsers when I want to insert a
    new record. It takes a long time to load the page and then it
    finally gives me an error which I stated above. I never had a
    problem before. I thought maybe I installed the application wrong,
    so I unistalled and reinstalled the DW CS3. I still get the same
    issue. I became so frustrated that I formatted my hard drive
    thinking make I have a adware or spyware, so to be cautious I
    formatted my computer and installed everything with a fresh install
    and still I get this error. Now my testing server that I use is
    called WAMP. I never had problems with it before using DW MX 2004
    or when I used the trial of DW 8. So now I am out of options. Is
    there a glitch in the new CS3 Web Premium that includes DW CS3
    upgrade software and if there is, is there a download. Can anyone
    help me, please.

    Please bare with me David. I know something is wrong because
    I have made two folders, one that is done in MX2004 and the other
    done in CS3. CS3 is generating errors. For example. In the insert
    page in MX2004 I do not need to make a recordset, however, for the
    CS3 insert page I noticed when I use the insert record form wizard
    it does not work unless I make a recordset where in MX2004 I did
    not need to do this. I've created a add.php and a edit.php of
    MX2004 and CS3. I will place it in the attach code so you can see
    side by side what it is generating. I can see that there are a few
    things that CS3 does change and some how it is making my internet
    browsers show an error saying......"Warning: Cannot modify header
    information - headers already sent in C:\wamp\www\edit.php on line
    50".
    What do I do?
    I noticed that in the following code difference in...
    MX2004 = <?php echo $row_rsTest['test']; ?>
    CS3 = <?php echo htmlentities($row_rsTest['test'],
    ENT_COMPAT, 'utf-8'); ?>
    There is a big difference.
    My database is the following...
    -- phpMyAdmin SQL Dump
    -- version 2.10.1
    http://www.phpmyadmin.net
    -- Host: localhost
    -- Generation Time: Jun 24, 2007 at 04:29 PM
    -- Server version: 5.0.41
    -- PHP Version: 5.2.3
    SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
    -- Database: `mysample`
    CREATE DATABASE `mysample` DEFAULT CHARACTER SET latin1
    COLLATE latin1_swedish_ci;
    USE `mysample`;
    -- Table structure for table `test`
    CREATE TABLE `test` (
    `testID` int(11) NOT NULL auto_increment,
    `test` longtext NOT NULL,
    PRIMARY KEY (`testID`)
    ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;
    -- Dumping data for table `test`
    INSERT INTO `test` (`testID`, `test`) VALUES
    (3, 'Sample Test');
    =======================================================================
    I use the program called
    WAMP.
    =======================================================================
    PHP PAGES

  • Update Record Wizard, tng_Recordset and Primary Key

    Hi - trying to make an image gallery that allows the user to add captions to each image displayed in a loop without having to send the user to a different form/detail page.
    My question is - can the tng_recordset generated by the Update Record Wizard be modified to use a field of another recordset on the same page as it's primary key?
    I.e. (on the Update Record behaviour) - Primary Key = Entered Value = {imagegalleries.galleryimages}
    this doesn't work, but it's where I'd like to be...
    The recordset 'imagegalleries' has been filtered using a URL variable that was defined as the gallery being edited.
    Hope this makes sense - have been trying for days on this.
    Dan

    -------
    I just get a blank page
    this means you´re having a PHP syntax error somewhere, and I´d recommend to always activate PHP error reporting at least on your local development server to have PHP indicate the reason why things aren´t working.
    However, when using such native PHP syntax within this context, you´ll usually need to add some more stuff around the variable -- means:
    $upd_boomcms_galleries_files->setPrimaryKey("bcms_galleryimage_id", "NUMERIC_TYPE", "VALUE", "".$row_galleryimagelist['bcms_galleryimage_id']."");
    works better now ?
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • Using JHeadstart to generate shuttles for updates

    Hi guys,
    Using JHeadstart 11.1.1.3 - is it possible to generate shuttle boxes for the simple task of updating records.
    For example - in the leading list I want to see all employees with a status of 'ACTIVE'. In the trailing list I want to see all employees with a status of 'INACTIVE'. By shuttling employees between the two lists, the status of the employee should be updated accordingly. I know there are processShuttle class in JhsApplicationModuleImpl but this (and the App Def Editor) only really seem to cope with data where a parent-child relationship exists.
    Is there any way to achieve this in JHeadstart (I recall years ago somehow using dummy parent VO's ?) - or am I best dropping back to ADF for this and then using templates to preserve the code
    Cheers,
    Brent

    Hi Steven,
    I have actually managed to get this working in JHeadstart - and with only a couple of lines of custom code needed - so I thought I would post the process I followed here in case anyone else is interested (and perhaps get some feedback from you on whether this method is ok to use, or indeed if it can be tweaked/improved on :)
    So, for my testing I used the HR schema
    1. Extended the EMPLOYEES table to add a new column EMPLOYEE_STATUS. Not null, set most to "INACTIVE", some to "RETIRED" and some to "ACTIVE"
    2. Created Employee EO and Employees VO
    3. Also created a new VO EmployeesToBeActivatedShuttle - based on Employee EO with a custom where clause of WHERE Employees.EMPLOYEE_STATUS in ('ACTIVE','INACTIVE') - as in my unselected list, I don't want to see employees with a status of "RETIRED"
    4. Created a dummy parent VO EmployeeStatusActiveDummy - Read only VO with query "select 'ACTIVE' as emp_active_status from dual"
    5. Created a view link between EmployeeStatusActiveDummy and Employees
    6. In AppModule added EmployeeStatusActiveDummy and the child Employees VO (renamed ActiveEmployeesShuttle)
    7. In JAG, created a group ActivateEmployees with Data Collection EmployeeStatusActiveDummy. Hide single attribute.
    8. Created a dynamic domain for the unselected list using EmployeesToBeActivatedShuttle with EmployeeID as value and LastName as meaning
    9. Created a child group ActiveEmployees using the Data Collection ActiveEmployeesShuttle. Set group to parent-shuttle, set the unselected list domain and relevant titles
    As it stands, after generation this works perfect for showing just the INACTIVE employees in the leading shuttle and ACTIVE employees in the trailing shuttle. Also, moving employees from the INACTIVE to the ACTIVE shuttle also works as the existing processSelectedParentShuttleRow method in JhsApplicationModuleImpl simply updates the child attr (EmployeeStatus in this case) to the value of the parent attribute (hard coded as ACTIVE). What doesn't work out of the box is moving employees the other way (ie un-selecting them) as the standard processUnselectedParentShuttleRow method sets the child attr to null.
    I simply overrode processShuttle in my AppModuleImpl, and depending on the value of the childVo ViewObject I replace the processUnselectedParentShuttleRow with a shuttle box specific one (processUnselectedEmpStatusActiveShuttleRow). In this I simply change the line setting the child attr from null to INACTIVE (in my real world case I am looking up another attribute on the row that holds the previous status and using this value to reset the current status).
    And voila - JHeadstart generated shuttle updating the status of my records :)
    Hopefully it will stand up to more testing !
    Cheers,
    Brent

  • Auto updating of remaing feilds in for a record in a  Z table

    Hi all
      Plese help me in solving this,
    I am maintaining the table data.  when i  enter a new record in the table, some fields like username , date and  time should get automatically updated in the same record and get reflected when i display of that record.
                   Could u pls tell me the procedure for updating those field automatically .
    Thanks in advance.
    Siva.

    hey,
    First add these fields in your database table
    if you are using table maintenance generator
    Go to your function group and in case you dont want the user to see this make them invisible.
    then make use of the following System parameters.
    sy-uname = name of the login
    sy-datum = data
    sy-uzeit = time
    push these values to your fields when eber you are inserting
    Hope this helps
    Regards,
    Ravi

  • For Update Nowait Query Generated Implicitly by Forms

    Recently we had a problem in one form because of a query getting generated implicitly by Forms with for update and nowait clause. i.e.
    Select Col1, Col2, Col3 Where Rowid= :1 for update of Col1 NoWait if we change the sequence of the Fields in block by shuffling the Fields i.e Bringing Col 1 to Col3 and Col3 to Col1 the query formed is some thing like this i.e.
    Select Col3, Col2, Col1 Where Rowid= :1 for update of Col3 NoWait  We just want to know when this query is getting fired and how i.e. Upon firing of which trigger in Forms this is getting fired in the DB. Because we are for sure we are not firing this query either from front end or back end. We are not locking the block any where or changing the lock mode of the block programatically.
    Few block level properties relevant to this
    Locking Mode - Automatic
    Update Changed Columns Only - Yes
    Possible reasons which we feel is that when we are assigning the values to a field programattically and when more than 1 user is navigating on the same block this may happen. Because Forms doesnt knows whether the user has edited the record manually or programatically. But we have noticed this query runs even when only 1 user is connected to this schema. This is our understanding so far any ideas/suggestions to avoid this or overcome this is appreciated.
    Thanks in advance

    Locking Mode - Automatic or Immediate, means select for update is issued as soon as value in a base table item changed by user or programmatically.
    Setting it to "Delayed" will delay lock until commit-time.
    You can override this behavior by creating ON-LOCK triger.

  • Update record form wizard

    I am having problems with inserting update record forms and
    Custom From from the wizards into php files i am using Dreamweaver
    cs3 and Developer Toolbox.
    An Insert form works OK.
    The Update Form inserts into the page and can be accessed
    from the server, bit on attempting to update database I get the
    following message:
    quote:
    Developer Details:
    tNG_update.prepareSQL:
    No Primary Key Column was set. (UPD_NO_PK_SET)
    quote:
    tNG Execution Trace - VIEW
    * tNG_update.executeTransaction
    o STARTER.Trigger_Default_Starter
    o tNG_update.doTransaction
    + BEFORE.Trigger_Default_saveData
    # tNG_update.saveData
    + BEFORE.Trigger_Default_FormValidation
    + tNG_update.prepareSQL*
    o tNG_update.getRecordset
    o tNG_update.getFakeRsArr
    o tNG_update.getLocalRecordset
    o tNG_update.getFakeRecordset
    /Q]
    When using the Custom form wizard (inset and update) and
    {else} statement is inserted into the code and only the 'insert'
    button appears when I require 'insert', 'update' and 'delete'.
    Has anyone else experienced this - is there something I am
    not doing?

    Hi Glenn, I kept having the same problem this morning. What I
    finally figured out is that I wasn't using the session variables
    properly. For example. My user_ID field maps to the session
    variable name kt_login_id
    my email field maps to kt_login_user (I use my email as user
    name) and password is kt_password. I finally printed out the
    Session information from login settings in the control panel so I
    was sure to fill out the data in the update wizard correctly.
    Open up the Update Transaction panel and under the Fields
    Tab, you can see how your table fields are mapped to the session
    fields. Hope it helps.l

Maybe you are looking for