column in a table not editable on update but editable during insertion?

I have a tabular form and one of the columns must be editable when you choose Insert a new line, but once the line is created the column are not editable.
So, I want a textfield when you create a new line and a standard for the lines already report column in the table.

Is this possible?

It must be done in the tabular presentation of the apex 'Wizard '... so I really need to keep this simple (developmentwise)

Thanks in advance

Andreas

Hello

the new line has an empty value for the primary key. Identify the name of the column in which the primary key resides and check the contents of this field.

Good luck

DickDral

Tags: Database

Similar Questions

  • Update multiple columns from multiple tables in a single UPDATE request

    Hello

    I'm trying to figure if I'm heading in the right direction.

    I want to update multiple columns from multiple tables in a single UPDATE request. Also, I would like to update multiple columns in a table from the tables.

    Scenario 1

    UPDATE Table2, Table 3
    SET T2.Column1 = T1.Column1 
    ,T2.Column2 = T1.Column2
    ,T3.Column2 = T1.Column2
    FROM Table1 T1, Table2 T2, Table3 T3
    WHERE T1.id = T2.id
    and T1.id = T3.id
    
    

    Scenario 2

    UPDATE Table3
    SET T3.Column1 = T1.Column1 
    T3.Column2 = T1.Column2
    ,T3.Column3 = T2.Column3
    ,T3.Column4 = T2.Column4
    FROM Table1 T1, Table2 T2, Table3 T3
    WHERE T3.id = T1.id
    and T3.id = T2.id
    
    

    Hello

    For scenario 1, you must write separate instructions UPDATE table2 and table3.

    To guard against someone else change one of these tables while you act so you can copy all relevant data in a global temporary table and update this global temporary table table3.

    ENGAGE only when two tables have been changed.

    You can write a procedure or an INSTEAD OF trigger to do all this.

    For scenario 2, you can reference many tables that you need when new table3.  It might be more efficient and simpler to use the MERGER rather than UPDATED.  For example:

    MERGE INTO table3 dst

    WITH THE HELP OF)

    SELECT t1.id

    t1.column1

    t1.column2

    t2.column3

    t2.column4

    FROM table1 t1

    JOIN table2 t2 ON t1.id = t2.id

    )             src

    WE (dst.id = src_id

    WHEN MATCHED THEN UPDATE

    SET dst.column1 = src.column1

    dst.column2 = src.column2,

    dst.column3 = src.column3,

    dst.column4 = src.column4,

    ;

  • why I can not check the update, but get the update in the background

    I can't check for update, but the update installs automatically why

    Hello Andy,

    Thanks for posting your question on the Microsoft community.

    Thank you for details on the issue.

    This problem can occur because corrupt Windows Update services or settings.

    I suggest you use the steps in this article and check if it helps.
    Reference:
    Error message 'Windows Update cannot Check For Updates' when you try to install the updates
    https://support.Microsoft.com/en-us/KB/2730071

    Note: Serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:
    https://support.Microsoft.com/en-us/KB/322756

    I hope this information helps.

    Please let us know if you need more help.

    Thank you

  • Windows does not start after update, but starts in safe mode

    last night my laptop set to day, I turned it off and when I started today he went straight to the safe mode selection screen. I chose to start in normal mode where it just went to blue screen, just a flash so I couldn't read what is on it and then restarted itself. I then chose safe mode with network boot and he finished making the update without problem, so I rebooted and tried to start up normally, but still it restarted itself, so I went back to safe mode which is what Im use it as today.

    as far as I know that it does not crush power or coward during the update and cannot think it's updating itself that causes the problem. Ive tried to do a system restore but it says theres no restore to restore points.
    Can someone please help me because running in safe mode is maddening as theres no graphics driver and the resolution is horrible.
    Thanks in advance
    Hayley

    Maybe a start of repair:

    http://Windows.Microsoft.com/en-AU/Windows-Vista/startup-repair-frequently-asked-questions

  • I have Windows VISTA and a Blu Ray player / drive in my computer. I did the updates, but when I insert a Blu Ray disc in my drive / Drive, it doen't recognize or play it. How can I fix?

    I have a Blu - Ray player in the computer
    I have Vista OS
    I ran the updates

    Run this fixit:
    http://support.Microsoft.com/kb/314060

    Hope this helps!

  • access to update only one column in the table?

    Hi all

    My need is to grant access to update only one column c1 in table t1.
    I guess I should use view, could you please give me some examples? Maybe other ideas?

    Hello

    You can grant privileges on individual columns.

    GRANT   UPDATE (c1)
    ON      t1
    TO      grantee_name;
    

    Look in the manual of the SQL GRANT language. Annoyingly, in editions recent manual, GRANT is not indexed, but it is in alphabetical order with all other instructions:
    http://docs.Oracle.com/CD/E11882_01/server.112/e26088/statements_9013.htm#i2155015

  • How to update the table by using the value of a column in a table field

    Hi all
    use APEX4.1,
    I have a tabular presentation based on the HOLIDAY table, it contains the following fields,
    Leave_id
    Employee_name
    No_of_days
    Status
    Here's the column LOV updateable status.
    Lov includes 2 values IE APPROVE and REJECT

    and I have another Table called LEAVE_HISTORY, it contains the following fields.
    Emp_name
    status
    Here whenever the ststus is updated (click the button SUBMIT) in tabular form should also be updated in the LEAVE_HISTORY of the SITUATION of the table column.

    I tried the following in the process of "WE SUBMIT AFTER CALCULATIONS AND VALIDATIONS,"
    begin
    update LEAVE_HISTORY set status= status where upper(employee_name)=upper(emp_name);
    end;
    but it is not kept up-to-date,
    When we updated through forms we can use something like this,
    update LEAVE_HISTORY set status= :P200_status where upper(employee_name)=upper(:P_200_emp_name);  <----here we are referring page item i.e (:P_200_emp_name)
    as the code above, how to run the columns in a table?
    Thank you.

    Hi Gurujothi,

    Try this,

    begin
    update LEAVE_HISTORY
    set status= :STATUS
    where upper(Emp_name)=upper(:EMPLOYEE_NAME);
    end;
    

    Brgds,
    Max

  • Automatically update the column in the table in OBIEE

    Hi people,

    I have a requirement to say I need to update a column of table based on a condition, but this update should happen on a daily basis (I mean that it would be held once per day) by checking if all the records in this column meets the condition then update

    example:-column = 'pending', then using the "approved". As records of transactions every day in the table lights. OBIEE should check and update the line so the next time it does not show this line as "pending".

    I thought of 2 approaches to this
    (1) through the write-back, it is possible to update but manually (the question is it can't be automated or on demand on daily basis and update multiple records on a go)
    (2) write a stored procedure or a function of update, but how can I perform this procedure either regular or run once daily.how to use it?

    Any thoughts on the above two points or any method you can think off the coast.

    Any help is appreciated!

    See you soon,.
    KK

    Murielle,

    This shud be easy...
    -Create a direct database... with the Update statement
    for example: Update table set col = "Approved" where col = 'pending '.
    -Create an ibot using the RFI above and plan on a daily basis.

    This will update the complete table with the new value on a daily basis based on the State

  • Update the value of the column based on another value of the column to another table

    Hi all

    I have something very confused me and need your help.

    Having two tables A and B.

    Table A have 2 column (+ id + and desc1)

    Table B have column 2 also (+ transnum + and desc2)

    Now, I want to update the column desc2 of table B identical desc1 of table was where transnum of Table B same as the id of the table has.

    I use this SQL

    update of a2 set a2.desc2 = a1.desc1 of a2 on a2.transnum = a1.id inner join a1

    but this error occurs

    Error from line 5 in order:
    update of a2 set a2.desc2 = a1.desc1 of a2 on a2.transnum = a1.id inner join a1
    Error in the command line: 5 column: 35
    Error report:
    SQL error: ORA-00933: SQL not correctly completed command
    * 00933. 00000 - "command not properly ended SQL."
    * Question: *.

    * Action. *

    Hope someone can help me. TQ for help...
    SQL> create table a1 (id number(2),des varchar2(10));
    
    Table created.
    
    SQL> create table b1 (transnum number(2),des varchar2(10));
    
    Table created.
    
    SQL> insert into a1 values (1,'maran');
    
    1 row created.
    
    SQL> insert into b1 values (1,'ram');
    
    1 row created.
    
    SQL> commit;
    
    Commit complete.
    
    SQL> update b1 set des=(select des from a1 where b1.transnum=a1.id);
    
    1 row updated.
    
    SQL> select * from b1;
    
      TRANSNUM DES
    ---------- ----------
             1 maran
    
  • Select cursor for update: multiple columns of different tables

    Hello

    I have two tables test1 and test2. I want to udpate the column (DEPT_DSCR) from the TEST1 and TEST2 using select for update and current tables of the... with the cursor.

    I have a code drafted as follows:
    DECLARE
    v_mydept1 TEST1. TYPE % DEPT_CD;
    v_mydept2 TEST2. TYPE % DEPT_CD;
    CURSOR C1 IS SELECT TEST1. DEPT_CD, TEST2. DEPT_CD OF TEST1, TEST2 WHERE TEST1. DEPT_CD = TEST2. DEPT_CD AND TEST1. DEPT_CD IS 'AA' FOR THE UPDATE OF TEST1. DEPT_DSCR, TEST2. DEPT_DSCR;
    BEGIN
    OPEN C1;
    LOOP
    FETCH C1 INTO v_mydept1, v_mydept2;
    WHEN EXIT C1% NOTFOUND;
    UPDATE TEST1 SET DEPT_DSCR IS "PLSQL1" WHERE CURRENT OF C1;.
    SETTING A DAY TEST2 SET DEPT_DSCR = 'PLSQL2' WHERE CURRENT OF C1.
    END LOOP;
    COMMIT;
    END;

    The code above when it is run, declares that it runs successfully. But it does not update the columns you want [DEPT_DSCR].

    It works only when we want to update one or more columns of the same table... i. e by providing these columns after ' to UPDATE THE.
    I don't know what exactly is the problem when you want to update several columns of different tables.

    Can someone help me on this?

    user12944938 wrote:
    But it's more the notion of compensation and understanding.

    See the link below:
    http://download.Oracle.com/docs/CD/B10501_01/AppDev.920/a97269/pc_06sql.htm

    See the section RESTRICTION in the link above.

    Twinkle

  • You can add not null column to a table that already contains data?

    Hello
    You can add not null column to a table that already contains data?
    Database 9i / 10g on RHEL
    Concerning

    Who worked in 9i?

    Looks like that it:

    SQL> select * from v$version where rownum = 1
    /
    BANNER
    ----------------------------------------------------------------
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    1 row selected.
    
    SQL> create table emp2 as select * from emp
    /
    Table created.
    
    SQL> alter table emp2 add new_col integer default 0 not null
    /
    Table altered.
    
  • my 2007 microsoft Office Word is not let me update or edit my documents. It won't let me even to make a new document.

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas:

    • You have problems with programs
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem
    • my 2007 microsoft Office Word is not let me update or edit my documents. It won't let me even to make a new document.

    Any chance that you have used the "demo"?

    If your programs Microsoft Office came pe-installed when you purchased the computer, it is a "trial" version
    Trial version is good for 60 days or x number of use, after that it use more.

    If this is the case, you will need to purchase a full version if you want to continue using Microsoft Office programs.
    Here is the link to dwnload Microsoft Office 2010 which shows you all available versions and their prices.
    http://Office.Microsoft.com/en-us/suites/

    There is an alternative. You can install OpenOffice which is free. There are programs that work more or less like Microsoft counterparts, and they are compatible.
    If you are interested, here is the download link:
    http://download.OpenOffice.org/

    Also a tutorial link how to use OpenOffice:
    http://www.tutorialsforopenoffice.org/

    For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • I want to install windows 7 arc gamer edition. I m using the new copy to install from dvd, it goes well until the installation of the updates, but installation ends, it displays error windows could not update

    I have windows 7 ultimate works correctly. I want to install windows 7 arc gamer edition. I m using the new copy to install from dvd, he is well until the installation of the updates but the installation finished, it displays error windows could not update the configuration to start the computer.  not installing and it rolls supports everything. Please help me solve this problem

    original title: windows 7 gamer edition

    Download of software on these sites can be very risky, because the origin of the files are usually edited and its quite possible that they could have injected malicious code in it.

    Windows 7 Gamer edition is not a developed Microsoft or affiliated with the product, what appears to be a customized image of Windows 7 that authors customized to remove or add Windows components, which can also be very problematic.

    You use something that no one can help you consider he has probably been reverse engineered and probably injected by a malicious code like spyware (keyloggers, rootkits, worms, viruses). I suggest you stick to Windows 7 Ultimate, this is the most complete edition of Windows 7, anyone can have.

    Resources:
    The Dangers of the purchase or use of software pirates - Notebooks.com

  • Please let me know how I can add a new column with a constraint not null, table already has data, without falling off the table... Please help me on this issue...

    Hello

    I have an emp_job_det with a, b, c columns table. Note that this TABLE ALREADY has DATA OF THESE COLUMNS

    IAM now add a new column "D" with forced not null

    Fistly I alter the table by adding the single column "D", if I do, the entire column would be created with alll of nulls for the column DEFAULT D

    ALTER table emp_job_det Add number D; -do note not null CONSTRAINT is not added

    Second... If I try to add the constraint not null, get an eoor as already conatained null values...

    (GOLD)

    In other words, if I put the query

    ALTER table emp_job_det Add number D NOT NULL; -THROWS ERROR AS TABLE ALREADY CONTAINS DATA

    So my question is how how can I add a new column with a constraint not null, table already has the data, without falling off the table

    Please help me on this issue...

    Add the column without constraint, then fill the column. Once all the rows in the table are given in the new column, and then add the constraint not null.

  • Display the column in the table, but not in the IR

    Hi guys,.

    [apex Oracle 11 g 4.2]

    Is there a way to display a column in a graph that is generated by the IR and is not in the table-IR?

    I know I can chosse columns in the IR and choose to not display this column. It's going to work.

    But if I put the column 'hidden' in the attributes of IR Section I can't create a chart out of it.

    So I want to create a graph of the same data that the (default) column is hidden.

    THX in advance Thorsten

    There is no way to do it.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Apress.com/9781430235125
    http://Apex.Oracle.com/pls/Apex/f?p=31517:1
    http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
    -------------------------------------------------------------------

Maybe you are looking for