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

Similar Messages

  • Insert and update same record of table using store procedure in oracle 10g

    Hi,
    I am using oracle sql developer for this.
    I have created Store procedure which run after every 30mins of interval.
    the problem is Ii need to insert data for first time of day then later that same record should update for particular field(here its plan code).
    if new field is coming (if new plan code is generated) then it should insert data and again update same for interval.
    means for each plan individual record(i.e. plan wise summary) should be there for only a day. next day new record for same plan.

    Hi,
    You should use Merge like shown below:-
    Merge into original_table a
    using second_table b
    on (a.primary_key=b.primary_key and a.primary_key........)
    when match then
    update set column_list=b.column_list
    when not match then
    isert into (column list)
    values(a.column_list)If you dont know much about merge then follow below link..
    http://www.oracle-developer.net/display.php?id=203
    http://www.oracle-base.com/articles/10g/merge-enhancements-10g.php

  • Insert or update in the form

    Dear all,
    i have a item. That is displaying a phone no;
    and that can be insertable and updateable item.
    if update the item that has to update in a anothe table.
    for this can i use the when_validate_item trigger for updating
              --ADDED FOR UPDATE  THE CONTACT NO
         BEGIN     
              UPDATE AZBJ_RC_RE_DETAILS
              SET EMP_LAND_LINE=:CONTROL.RE_PH_NO
              WHERE EMP_OPUS_ID=:CONTROL.V_USER;
              COMMIT;
              EXCEPTION
              WHEN OTHERS THEN
              NULL;
         END;
    please guide me can i use like this
    Thanks in advance
    Regards
    venkat.

    Hello Venkat,
    If you want to update another table then it is good that you do it at Database level not on Form level. Because if you even don't save this form, the trigger's Update statement will fire. and you will have different values on both table.
    So do it at Database Table Level FOR EACH ROW Trigger on BEFORE UPDATE. Example as follows,
    IF :NEW.RE_PH_NO != :OLD.RE_PH_NO THEN  --For check that if value changed then update other table.
        UPDATE AZBJ_RC_RE_DETAILS
        SET EMP_LAND_LINE=:NEW.RE_PH_NO
        WHERE EMP_OPUS_ID=:NEW.V_USER;
    END IF;Regards,
    Danish

  • BC data form wizard error

    The wizard generated for QueryInfo
    "OBJECT_NO as \"Project\"," +
    for the DetailIter
    But project is the 1st column of the primary key and object_no is the third.
    Project was not one of the columns being displayed. Object_no is the first column display, and object_type (the 2nd part of the primary key is displayed as the 2nd column in the grid.

    here's another one:
    "PROJECT,"+
    "OBJECT_TYPE AS \"ObjectTypeOrder\","+
    "OBJECT_TYPE AS "\"ObjectType\"",
    I'm using 3.1.1.2.
    I was recreated the same window.
    This is on the master table.
    I did something like:
    1) move second row to right,
    2) decide that I want all columns and if I add the first column now, it will not be first (and there's no up/down icon buttons on right list of column. Thus I click "<<" to move column back to left list.
    3) click ">>" to move all columns to the right.
    4) click go to next step.

  • Inserting and Updating records in ORACLE using WebDynpro Java

    Hi All
    I got connected to oracle backend (using my previous thread), but now i want to insert and update the records
    i have created views  for insert and update,
    Thanks in advance
    Sushma

    Hi shusma..
    chk this link..
    <b><u>Creating Connection</u></b>
    package com.sap.xirig;
    import javax.naming.*;
    import javax.sql.*;
    import java.sql.*;
    public class DBLookup {
    String Conn_Status = "Not Connected";
    String Language_Desc = "Empty";
    String Language_Cd = "Empty";
    Connection conn;
    Context ctx;
    DataSource ds;
    //Constructor for the DBLookup object
    public DBLookup {
    try {
    ctx = new InitialContext();
    if (ctx == null) {
    throw new Exception("Boom - No Context");
    // If JDBC 2.0 connection is used please create the DataSource object as below
    // ds = (DataSource) ctx.lookup("jdbc/ORACLEDATASOURCE");
    // If JDBC 1.0 connection is used please create the DataSource object as below
    // ds = (DataSource) ctx.lookup("jdbc/notx/ORACLEDATASOURCE");
    if (ds == null) {
    throw new Exception("Boom - No dataSource");
    catch (Exception e) {
    e.printStackTrace();
    public String getLanguageDesc(String v_str) {
    Statement stmt = null;
    ResultSet rst = null;
    try {
    if (ds != null) {
    conn = ds.getConnection();
    Conn_Status = "Could not get connection to
    datasource";
    if (conn != null) {
    Conn_Status = "Got Connection " +
    conn.toString();
    stmt = conn.createStatement();
    rst = stmt.executeQuery("SELECT
    LANGUAGE_DESC FROM LANGUAGETRANSLATION WHERE LANGUAGE_CD='" + v_str +
    if (rst.next()) {
    Language_Desc = rst.getString(1);
    conn.close();
    catch (Exception e) {
    e.printStackTrace();
    finally {
    if (rst != null) {
    try {
    rst.close();
    catch (Exception e) {
    e.printStackTrace();
    if (stmt != null) {
    try {
    stmt.close();
    catch (Exception e) {
    e.printStackTrace();
    if (conn != null) {
    try {
    conn.close();
    catch (Exception e) {
    e.printStackTrace();
    return Language_Desc;
    http://e-docs.bea.com/wls/docs81/oracle/API_joci.html
    Hope this will help u..
    URs GS

  • Command to insert or update database error

    I'm using DW CS4. Every time I create a new command to insert or update a record the generated code is invalid. The error is at the line that suppose to have all variables just before the adodb command and looks like this:
    <%
    ' IIf implementation
    Function MM_IIf(condition, ifTrue, ifFalse)
      If condition = "" Then
        MM_IIf = ifFalse
      Else
        MM_IIf = ifTrue
      End If
    End Function
    Dim insNewCalComm__@@varName@@
    insNewCalComm__@@varName@@ = "@@defaultValue@@"
    If (@@runtimeValue@@ <> "") Then
      insNewCalComm__@@varName@@ = @@runtimeValue@@
    End If
    %>

         try {
                   executeInsert();
              catch(Exception e){ /*duplicate key error if exists*/
              try {
                   executeUpdate();
              catch(Exception p){ /*another error*/
              System.out.println( e.getMessage());
              System.out.println( p.getMessage());
         }     

  • Count of inserted and updated rowcount in @@rowcount

    Similarly I have created a sp which is inserting and updating the records.
    Now I want to track the count of new record inserted and updated record in @@rowcount .
    please suggest me the code .
    below is my sp
    alter Procedure SP_Archive_using_merge
    AS
    --exec SP_Archive
    BEGIN
    SET NOCOUNT ON
    Declare @Source_RowCount int
    Declare @New_RowCount int
    DECLARE @TimeIn SMALLDATETIME
    DECLARE @LatestVersion INT
    SET NOCOUNT ON
    ---BBxKey and Hash value of all the source columns are derived in source query itself--
    select @TimeIn=getdate(),@LatestVersion=1
    MERGE Archive.dbo.ArchiveBBxCemxr AS stm
    USING (
    SELECT a.*,cast(SUBSTRING(a.Col001,1,10) as varchar(100)) BBxKey,
    HashBytes('MD5', CAST(CHECKSUM(a.Col001,a.Col002,a.Col003,a.Col004,a.Col005,a.Col006,a.Col007) AS varbinary(max))) RowChecksum,
    b.BBxKey as Archive_BBxKey, b.RowChecksum as Archive_RowChecksum
    FROM dbo.ImportBBxCemxr a LEFT OUTER JOIN Archive.dbo.ArchiveBBxCemxr b
    ON a.Col001 = b.BBxKey
    Where (b.LatestVersion = 1 OR b.LatestVersion IS NULL) AND a.Col001 IS NOT NULL
    ) AS sd 
    ON sd.Archive_BBxKey = stm.BBxKey and sd.RowChecksum = stm.RowChecksum
    WHEN MATCHED AND (stm.BBxKey = sd.Archive_BBxKey and stm.RowChecksum != sd.Archive_RowChecksum) THEN
    UPDATE SET 
    stm.TimeIn = @TimeIn,
    BBXKey=sd.BBXKey,
    RowChecksum=sd.RowChecksum,
    stm.Col001=sd.Col001,
    stm.Col002=sd.Col002,
    stm.Col003=sd.Col003,
    stm.Col004=sd.Col004,
    stm.Col005=sd.Col005,
    stm.Col006=sd.Col006,
    stm.Col007=sd.Col007,
    stm.LatestVersion=@LatestVersion
    WHEN NOT MATCHED and (sd.Archive_BBxKey is null) THEN
    Insert (TimeIn,BBXKey,RowChecksum,Col001,Col002,Col003,Col004,Col005,Col006,Col007,LatestVersion)
    values(getdate(),sd.BBXKey,sd.RowChecksum,sd.Col001,sd.Col002,sd.Col003,sd.Col004,sd.Col005,sd.Col006,sd.Col007,@LatestVersion);
    end 
    Thankx &amp; regards, Vipin jha MCP

    You need to OUTPUT clause with action column to get the info into teable variable and then count from the table variable.
    Try the below: (Not tested)
    alter Procedure SP_Archive_using_merge
    AS
    --exec SP_Archive
    BEGIN
    SET NOCOUNT ON
    Declare @Source_RowCount int
    Declare @New_RowCount int
    DECLARE @TimeIn SMALLDATETIME
    DECLARE @LatestVersion INT
    SET NOCOUNT ON
    ---BBxKey and Hash value of all the source columns are derived in source query itself--
    select @TimeIn=getdate(),@LatestVersion=1
    DECLARE @tableVariable TABLE (sAction VARCHAR(20), InsertedID INT, DeletedID INT)
    MERGE Archive.dbo.ArchiveBBxCemxr AS stm
    USING (
    SELECT a.*,cast(SUBSTRING(a.Col001,1,10) as varchar(100)) BBxKey,
    HashBytes('MD5', CAST(CHECKSUM(a.Col001,a.Col002,a.Col003,a.Col004,a.Col005,a.Col006,a.Col007) AS varbinary(max))) RowChecksum,
    b.BBxKey as Archive_BBxKey, b.RowChecksum as Archive_RowChecksum
    FROM dbo.ImportBBxCemxr a LEFT OUTER JOIN Archive.dbo.ArchiveBBxCemxr b
    ON a.Col001 = b.BBxKey
    Where (b.LatestVersion = 1 OR b.LatestVersion IS NULL) AND a.Col001 IS NOT NULL
    ) AS sd
    ON sd.Archive_BBxKey = stm.BBxKey and sd.RowChecksum = stm.RowChecksum
    WHEN MATCHED AND (stm.BBxKey = sd.Archive_BBxKey and stm.RowChecksum != sd.Archive_RowChecksum) THEN
    UPDATE SET
    stm.TimeIn = @TimeIn,
    BBXKey=sd.BBXKey,
    RowChecksum=sd.RowChecksum,
    stm.Col001=sd.Col001,
    stm.Col002=sd.Col002,
    stm.Col003=sd.Col003,
    stm.Col004=sd.Col004,
    stm.Col005=sd.Col005,
    stm.Col006=sd.Col006,
    stm.Col007=sd.Col007,
    stm.LatestVersion=@LatestVersion
    WHEN NOT MATCHED and (sd.Archive_BBxKey is null) THEN
    Insert (TimeIn,BBXKey,RowChecksum,Col001,Col002,Col003,Col004,Col005,Col006,Col007,LatestVersion)
    values(getdate(),sd.BBXKey,sd.RowChecksum,sd.Col001,sd.Col002,sd.Col003,sd.Col004,sd.Col005,sd.Col006,sd.Col007,@LatestVersion)
    OUTPUT $action as action, inserted.BBXKey as ins, deleted.BBXKey as del into @tableVariable;
    --To get the action count info
    SELECT sAction, COUNT(*) FROM @tableVariable GROUP BY sAction
    end

  • Default values for Insert and Update

    What is the best way to default the current sysdate for a date column on a table when doing an insert or update through a form? And related to this, what is the best way to default the current user (APP_USER) for a varchar2 column when doing an insert or update through a form?
    For these columns, I want to display them on a report, but they should be hidden on the form because I would like to have the app default the values to sysdate and APP_USER. However, when I have tried to use the table default values in "user interface defaults" and using either :APP_USER or &APP_USER or SYSDATE, it only shows this literal value on the form (item is not hidden while I debug this). It does not show the actual value I'd want, such as "user1". Does this make sense?
    Thanks for your help.
    -Reid

    I think triggers are the best device.
    Scott

  • 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

  • Record not inserting into the table through Forms 10g

    Hi all,
    I have created a form in 10g(10.1.2.0.2) based on just one table that has 4 columns(col1, col2, col3, col4).
    Here col1, col2 and col3 are VARCHAR2 and col4 is date and all the columns are not null columns(There are no primary and foriegn key constrains, which means duplicates are allowed).
    My form contains 2 blocks where block 1 has one text item (col1) and 3 buttons (Delete, Save, Exit).
    And block2 is a database block and has col2,col3,col4 which are in tabluar layout frame displaying 10 records.
    When the form is opened the cursor has to be in block1.col1 for querrying. Here i enter a value in col1, and then when I click on col2 in the block2, then I put execute_query in new_block_instance of block2, which displays the records.
    The block2 properties are not updatable, insertable and query is allowed.
    Everything is working good until here. But here in the block2 when I want to insert another record into the table, by navigating all the way down to the last empty record and entering the new values for col2, col3 and col4 And then Ctrl+S will display the message "*FRM-40400: Transaction complete: 1 record applied and saved.*" But actually the record is not inserted into the table.
    I also disabled the col4 by setting the Enabled property to No, since while inserting new record the date have to be populated into it and it shouldnt be changed by the user. And im populating the sysdate into the new record by setting Intial Value property to *$$DATE$$*.
    And another requirement which I could not work arround here is that, the col3 also should be populated with the username of the user while inserting.
    please help me...

    Hi Sarah,
    I do not want to update the existing record. So I kept Udate Allowed to No in property palette for the items in block2.
    Do I have to do this property at block level also?
    I'm inserting a new record here.
    Edited by: Charan on Sep 19, 2011 8:48 AM

  • Can update detail record in browse form?

    I have a browse form ,it's record do not to create or insert but update,and update only a few column such as change is_disabled to true/false,since then I want change records by click radio group or check box,is this can do?
    I use Jdev9.03

    955268 wrote:
    I have a simple APEX form based on a table with 2 columns with one column being a primary key.
    When i create the APEX form based on my table it hides the primary key column. If I make it visible by changing it to a Text item from Hidden.
    I am unable to update or insert a new record in the form. It gives me a MRU error.
    I would like to know how can i create my APEX form with both the columns updateable and visible.You didn't provide any information about your apex version, so I assume the most current one (Apex. 4.1).
    There you can run the form wizard using the ROWID of your table. If you use that, then the PK column can be filled out manually, just as any other item.

  • Update record form wizard problems

    I have an update form right after my log in page, but I guess my id is not getting carried to it. So everytime a user tries to update his record it says "No Primary Key Column was set"
    I used the update form wizard to create the update form and the log in form wizard for logging in. I checked the URL parameter and selected the right field in Primary Key Column in the update form wizard. You can actually update the record if you select "entered value" in Primary Key Equals and put a number against it, but not otherwise.
    Am i missing something. Im a complete novice so any advice is appreciated.

    I see this problem posted in lots of places - hopefully this will help someone...
    I had put the form on the page myself and filled in the filename in the "action" setting for the form.
    If the wizard creates the form, it uses...
    for the action value which maintains the get parameters that you passed from the other page. The "setPrimaryKey" function then has both that GET value (so it doesn't lose track of which record it's working on) and the POST information coming in from the form.
    I couldn't understand how my page had the primary key information the first time in but not when I submitted the form... this was the reason. It never affected the insert part of things because that doesn't rely on an existing primary key.

  • Where is the Record Update Form Wizard in DWCC?

    Trying to follow online help but it doesn't relate to DWCC.   A tutorial I found for CS6 suggests that it's in Insert > Data Objects > Update Record > Record Update Form Wizard but in DWCC there is no "Data Objects" option in the Insert menu.
    By the way, I'm looking for the wizard not the straight Update behaviour which I'm aware is in the Server Behaviours panel.
    Thank you.
    NJ
    EDIT:  Just spoke to Adobe "support" by chat about this and they were absolutely useless. The directed me to the article that I've highlighted above as being for CS6, which isn't helpful because "Data Objects" isn't in the Insert menu in DWCC, and when I pointed that out they gave me this link to try:  http://www.adobe.com/devnet/
    Seriously?  Is this the best I can hope for from Adobe support?  It was clear that the operative was just doing Google searches for the answers as opposed to actually knowing the software that they represent.  Really disappointing support.

    Hi Jon,
    "Database functionality was removed from DWCC."  - I use database functionality a lot so this is a real let down.  Why has it been removed when it seems so integral to a lot of modern websites and web applications?
    I've got the Legacy Extension, or Depracated_ServersBehaviours panel extension, but that does not bring back the Record Update Form Wizard.
    Tutorials as far as CS6 reference the Record Update Form Wizard but I'm guessing that it has just been completely dropped in DWCC - not that anyone from Adobe know that one way or another.  The official "support" I received earlier was a complete joke (some guy doing Google searches whilst saying - "I'm just verifying your account").
    I'm quite handy with Google myself so maybe there's an opportunity for me to move into a career as an Adobe support technician.
    I'll have to find a third party extension then I guess.  Thanks for the advice.

  • Updating detail record and getting multiple 'UNABLE TO INSERT RECORD' msgs

    Help! We have 2 datablocks, master and detail block with relation defined. Master is defined with view based on database joins; detail is view based on table.
    When I update the record in detail block, error message 'UNABLE TO INSERT RECORD' appears four times, then I get transaction complete: 5 records applied and saved, where the one record successfully updates. Why are we getting four records with insert errors and one record update? We don't want to work directly on the table, but why can't we use the view? please help.

    The UNABLE TO INSERT record will be accompanied by more information if you press the Display Error key. Your form commit processing should stop when it gets an error like this, the fact that it doesn't implies that somewhere in your code you are not checking for FORM_SUCCESS before continuing doing something else.
    This sounds quite involved, we would need to have more information about what records are queried and what's being changed on them to cause the commit.

  • How to insert new record or update existing record using a complex view?

    Currently I created this screen, there is no problems on display data, only on the update funtionality (it means insert / update / delete on the table for which the view is based on).
    I have a table and a complex view in order to display the information from the table in a tabellar form (i.e up to 70 record in same "record" in the form, one for each item)
    The view is like this
    select a.f1, a.f2, get_value(a.pk1,1) a1, get_value(a.pk1,2) a2, get_value(a.pk1,3) a3............
    from my_table a
    where a.proj_id = user
    and I want to permit the update of the field a1, a2, a3 in a multiposition canvas (tabellar).
    I created an INSTEAD-OF trigger.
    But it not work only in the form. I receive the error FRM-40654 when I try to change the existing value in the running form based on that view.
    The view is woking and updatable using sql-plus.
    If I query
    select * from ALL_UPDATABLE_COLUMNS where table_name = 'SPV_BOQ_BOM_POS_ACTIVITIES';
    in which 'SPV_BOQ_BOM_POS_ACTIVITIES' is the name of my view.
    The question is: why if the view is updatable using SQL*Plus, is not updatable using Oracle Form 10gR2 ?
    Someone could help me asap?
    Thanks

    I removed on the datablock three items that are not showed, one of this is the Sysdate of update on the table for which the view is based.
    I removed also the on-lock trigger and the update from the form is NOT working fine.
    But for now I can still mantaing the ON-LOCK trigger.
    Is not a priority to remove this trigger.
    I still have the problem when the field is null, it mean that in the table SP_BOQ_BOM_POS_ACTIVITIES the record not exist.
    I try now to explayn better.
    SPV_BOQ_BOM_POS_ACTIVITIES is the name of the view.
    SP_BOQ_BOM_POS_ACTIVITIES is the name of the table.
    This are the desc
    desc SPV_BOQ_BOM_POS_ACTIVITIES
    Describing SPV_BOQ_BOM_POS_ACTIVITIES....
    NAME Null? Type
    BOQ_HEADER_ID NOT NULL NUMBER(12,0)
    BB_ID NOT NULL NUMBER(12,0)
    BOQ_ID NOT NULL NUMBER(12,0)
    PROJ_ID NOT NULL VARCHAR2(10)
    ACT_GROUP_CODE VARCHAR2(30)
    TOTAL_QTY NUMBER
    ACT_CODE_1 VARCHAR2(4000)
    QTY_1 NUMBER
    ACT_CODE_2 VARCHAR2(4000)
    QTY_2 NUMBER
    ACT_CODE_3 VARCHAR2(4000)
    QTY_3 NUMBER
    ACT_CODE_4 VARCHAR2(4000)
    QTY_4 NUMBER
    ACT_CODE_5 VARCHAR2(4000)
    QTY_5 NUMBER
    ACT_CODE_6 VARCHAR2(4000)
    QTY_6 NUMBER
    USR_ID NOT NULL VARCHAR2(10)
    LMOD NOT NULL DATE
    INT_REV NOT NULL NUMBER(6,0)
    The field QTY_1, QTY_2.... QTY_6 are calculated with a customer stored function from the table SP_BOQ_BOM_POS_ACTIVITIES.
    Also the field ACT_CODE_1, ACT_CODE_2, .... ACT_CODE_6 are calculated with a customer stored function from the table SP_BOQ_BOM_POS_ACTIVITIES.
    desc SP_BOQ_BOM_POS_ACTIVITIES
    Describing SP_BOQ_BOM_POS_ACTIVITIES....
    NAME Null? Type
    BBPA_ID NOT NULL NUMBER(12,0)
    BOQ_HEADER_ID NOT NULL NUMBER(12,0)
    BB_ID NOT NULL NUMBER(12,0)
    BOQ_ID NOT NULL NUMBER(12,0)
    PROJ_ID NOT NULL VARCHAR2(10)
    ACT_GROUP_CODE NOT NULL VARCHAR2(30)
    ACT_CODE NOT NULL VARCHAR2(30)
    QTY NUMBER(12,0)
    FLG_MANUAL_CHANGE VARCHAR2(1)
    USR_ID NOT NULL VARCHAR2(10)
    LMOD NOT NULL DATE
    INT_REV NOT NULL NUMBER(6,0)
    If I use SQL Navigator this insert working fine
    insert into SPV_BOQ_BOM_POS_ACTIVITIES
    (BOQ_HEADER_ID, BB_ID, BOQ_ID, PROJ_ID, ACT_GROUP_CODE, ACT_CODE_1, QTY_1)
    values (5050, 5015, 30486, 'B39368', 'TEST', '0101010101010101', 1709)
    1 row(s) inserted
    Instead using the Screen, at runtime, I receive the message:
    FRM-40400 Transation Complete: 1 records applied and saved
    but nothing is saved in the table SP_BOQ_BOM_POS_ACTIVITIES, and the view SPV_BOQ_BOM_POS_ACTIVITIES contain the calculated QTY_1 for the 'key', with null value.
    Moreover If in the field QTY_1 (NUMBER) I put a character, instead a Number, just to see if the Screen attempts or not an UPDATE or AN INSERT, the message is FRM-40509: Oracle Error. UNABLE TO UPDATE RECORD. Why happen an Update and not an INSERT using the Screen?
    In effect, the trial using SQL navigator of the following statement
    insert into SPV_BOQ_BOM_POS_ACTIVITIES
    (BOQ_HEADER_ID, BB_ID, BOQ_ID, PROJ_ID, ACT_GROUP_CODE, ACT_CODE_1, QTY_1)
    values (5050, 5015, 30486, 'B39368', 'TEST', '0101010101010101', 'r');
    I got Invalid Number and it's ok as answer from the database.
    Edited by: fmariani on 30-apr-2009 1.51

Maybe you are looking for

  • Failed to load database operation

    Hello all, T One of our developers has an error on a new pc, with Crystal XI running on a Windows XP SP 3 machine. Whenever he tries to run a report in Crystal he gets an error of "Failed to load database information      "Details: The database conne

  • SAP R/3 4.7 and ECC 5.0

    Hello MM gurus! i would like to know differences between SAP r/3 4.7 and ECC 5.0, and what makes the client to opt of the 4.7 or ECC 5.0. Thanks in Advance gurus. Regards, Pieadad.

  • Windows Explorer folder context menu crash

    Hello, On a PC running Windows 7x64 Ultimate,  Windows Explorer closes with a "Windows Explorer has stopped working" message, and needs to be restarted. It quits when I right click on a folder, while right clicking on a file doesn't cause it to quit.

  • HT1338 i want update for final cut server 1.0 ????????

    hello . i want to update my final cut server 1.0 i didn't find it are you reset it steve jobs don't do that for us

  • Blackberry z 10 is not opening up .

    my blackberry z10 is not responding /opening up  after switch on .last night  battery was run out. today morning i connect the z10 to power  but z1o is not opening.  help me soon.