Save data to the database...

HII,
I am a new developer on oracle developer 6i... my problem is like...
I can't store the data in the form database developer 6i (the column is the column in the database and I said as a column of formulas that I can't store and value comes from other column by some calculation)...

Hello, welcome to the Forums. What you describe with a calculated field is expected features. Here's what the forms help system has to say about calculated fields:
_ Guidelines for the use of the elements calculated
* Calculated are view-only control elements.
* Calculated items cannot be elements of database.
* So that you can define a calculated item Enabled, navigate to mouse and keyboard navigable properties Yes, you cannot set properties Insert authorized or Update Allowed Yes.

If you want to write these values in the database, you will need to copy the value of the calculated field in an element of Basic tab.le of your block. For example:

/* Pre-Insert trigger */
BEGIN
   :BASETBL_BLOCK.TOTAL_AMOUNT := :CALC_BLOCK.CALC_ITEM;
END;

Hope this helps,
Craig B-)

If a response is appropriate or useful, please mark accordingly.
     
Published by: Silvere June 2, 2010 08:36

Published by: Silvere June 2, 2010 08:36

Published by: Silvere June 2, 2010 08:36

Published by: Silvere June 2, 2010 08:38

Published by: Silvere June 2, 2010 08:41

Tags: Oracle Development

Similar Questions

  • How to save data from the COM port to file?

    Hi all

    can someone tell me please how to save data from the COM port on file? I transfer 1 byte of serial port... attached is the image of the vi... very basic.

    I would like to save the data in a table... I mean, 1 data--> data--> data tab 2 tab 3rd--> tab

    and so on... can anyone help?


  • Cannot insert data into the database

    Hello world

    I stuck with a problem in DB juice. When I try to insert data into the database using DB tool, I get a repeated error message (error 1). Please find the my vifile below and solve say.

    Problem is use Labiew 8.2. So try to answer accordingly

    Try it with a cluster instead of a string or an array.

  • update set to update the data in the database.

    At what stage of the treatment I have to use a rule to update to apply logic to the way the data are updated in the database?

    Hello

    You can use the update rule to update the data in the database.

    Thank you

    edynamic Experts Eloqua

  • Remove the mask before entering the data in the database?

    Hello!

    Hey guys, I'm with the following problem, I am using plugin 'text with hidden Input field', works perfectly in a deal to add the mask, but I have a problem saving the data in the database, I need to record data only, without the mask at all, no idea how to do this, a dynamic of action? What would be the best way to go, and if they have advice on how to make would be welcome.

    Thank you!

    Hello!

    I would like to share with you that I found the solution to remove the mask before you update the database, I share case someone needs and evaluation of teachers is the best solution, I did the following creates a "process after Submit" before performing the "LMD" process, removing the masks as replace, just below my code is pretty simple as I said, my point in this case decided, as I have said I would like that assessment of you as possible to see if others have better enforcement solutions!

    : P33_NR_CEP: = replace (: P33_NR_CEP,'-', ");

    : P33_NR_TELEFONE: = replace (replace (replace (: P33_NR_TELEFONE, '(', ''), ')', "),'' ', ',");

    hug!

    Chubby Kiran fac586

  • Current version of the data in the database has changed since the user initiated the update process.

    Hello

    I get this error message: when I update a table.

    • Current version of the data in the database has changed since the user initiated the update process. version of current line identifier = "4975F66067C6EE412FF51DF46B8C4916" line application version identifier = "31163419BE48C198DE88A34AD12FE4D2".

    I get this message when a process is used to run an update on the same table.

    BEGIN

    RUN IMMEDIATELY "UPDATE CONTRATS_MAINTENANCE SET EMAIL_SENDED = 0 WHERE ID =: 1' WITH THE HELP OF: P27_ID;"

    END;

    There is an automated line (DML) process process on the table on this page.


    I understand that I get this error message because I update the database EMAIL_SENDED in the same table column and tha the automated process line try to update the same table...

    On this page, I want to the column EMAIL_SENDED always has the value 0 (zero). It is a database column

    How to do?

    Thank you for your help.

    Christian

    If you try to make it through a normal form. So in this case email_sended is getting two values one of your FORM and one of your update statement.

    To resolve this problem, you can code in hard EMAIL_SENDED point the value '0' and keep only the database column.

    If the whenver update you will automatically take the value 0.

    Another solution would be to remove this column from your FORM and then update by creating a process after submit.

    BR,

    Patrick

  • How to keep summers jsf pages correctly updated to account for changes to data in the database?

    This is a case of common use for web applications:

    User open A (i.e. a jsf page) of a web application, keep open for a period of time and do some browsing or editing on this page.

    During this time, someone others or modified events of the data in the database, then:

    Scenario A:

    1. the user should be able to see the evolution of the data in the above open jsf page when page navigate to other records.

    or when the page is refreshed by refreshing the web browser (reload the page) or by pressing a button on the page manually.

    Scenario b:

    2. the page should be able to be updated automatically to reflect the new changed data in the backend database.

    -This means that the user has no need to run the refresh action intentionly/manually to get the new data.

    Here's a possible implementation are provided in subsection 12.1 JDEV/ADF for above use cases:

    1.kdario: tips to know how to refresh your data

    Re: Field Image cannot refresh when you move between records in a jsf page

    In my opinion, the solution of kdario is a little bit complicated, is there an easy approach?

    and kdario says:

    'normal way' for update page is generally very bad for applications based on JSF/ADF.

    Is there more evidence or reference documents to support above sayings?

    2 to implement scenario B, which is recommended methods?

    Is the Active Data one approach good?

    If there are active - as tech batteries was adopted for web applications on the internet (which will have more agreement than in the intranet user), would there be possible serious performance problems?

    Thanks in advance.

    In fact, I suggested to the position 3 solutions (and option c) Notifications of changes to database is the most complicated).

    Also, here is solution d) in pageDef, select iterator and ownership of Cache set to false results

    'normal way' for update page is generally very bad for applications based on JSF/ADF.

    Is there more evidence or reference documents to support above sayings?

    Well, when you use the "back/refresh" browser button, this will retrieve the Forms page cache and skip the controller of the ADF.

    You can use google to do this, for example:

    https://groups.Google.com/Forum/#! subject/adf-methodology/CKoDdhLdrYE

    ADF developers world: how to avoid the mistake Houston-35007?

    Andrejus Baranovskis Blog: How to manage the Web browser buttons in the ADF/WebCenter Applications

    Dario

  • Current version of the data in the database has changed since the user has launched the process of update: tabular

    Hi people

    Version of the apex is 4.2

    Oracle database: 11.2.0.2

    I have created a simple form in a table on a table with the following structure

    {code}

    Name                                                  Null?    Type

    ----------------------------------------------------- -------- --------------

    TID NOT NULL NUMBER

    TEAM_NAME VARCHAR2 (30)

    EMP_NAME VARCHAR2 (30)

    DATE OF REPORT_DATE

    CATEGORY_NAME VARCHAR2 (30)

    NUMBER OF CATEGORY_HR

    CATEGORY_COMMENT VARCHAR2 (120)

    CREATED_DT                                                     DATE

    CREATED_BY VARCHAR2 (30)

    STATUS VARCHAR2 (1)

    {code}

    In the form of default table is

    {code}

    Select

    TID,

    TID TID_DISPLAY,

    TEAM_NAME,

    EMP_NAME,

    REPORT_DATE,

    CATEGORY_NAME,

    CATEGORY_HR,

    CATEGORY_COMMENT,

    CREATED_DT,

    CREATED_BY

    of ' #OWNER # '. " TIMESHEET.

    {code}

    I wanted to add an additional line inserted in the tabular presentation, that's why I included 'UNION ALL' in the query like this

    {code}

    Union of all the

    Select

    TID, null,

    tid_display null,

    team_name null,

    emp_name null,

    report_date null,

    category_name null,

    category_hr null,

    category_comment null,

    created_dt null,

    created_by null

    of the double

    {code}

    After having done that, I can see a blank line on the form of tables, but each time I fill data in the fields and press the "SUBMIT" button, I get the below error

    Current version of the data in the database has changed since the user has launched the process of update

    Thank you

    Navneet

    Why are you insert an extra line manually in tabular from?  There is a feature to add a line.

    If you want to insert a blank line when the page loads, then create dynamic action, this is a most appropriate feature.

    If you manually insert an extra line so that you have to write the update for this procedure.

    Leave.

  • Reading file and dump the data into the database using BPEL process

    I have to read the CSV file and insert data into the database... To do this, I created some asynchronous bpel process. Adapter filed added and associated with the receive activity... Adapter DB has added and associated with the Invoke activity. Receive two total activity are available in the process when trying to Test em, receive only the first activity is complete and awaits the second receive activity. Please suggest how to proceed with...

    Thanks, Maury.

    Hi Maury,

    There is no need in step 2 that u mentioned above. I donot find useless a webservice?

    The process will be launched by the CSV file, then using the processing activity, you can put it in the DB.

    There should be no way where you can manually test it by giving an entry. All you can do to test is to put the file in the folder you mentioned when configuring the file adapter.

    You just need to have the composite as below:

    ReadCSVFile---> BPEL--> DB adapter

    And in your BPEL process:

    Recieve--> Transformation activity--> call activity

    Try to work on some samples listed on the oracle site and go through the below URL:

    The playback of the file adapter feature using

    Thank you

    Deepak.

  • Forms 6i save photo inside the database

    Dear people
    I have table with 2 fields no number (10), photo_path varchar2 (300)
    These 2 fields have the number and the path of photos, and I train to watch these paths and find the photo and save it to the database table.
    either way, I am using forms 6i and 8i db
    Please help me how to


    Published by: yasser_egypt on November 22, 2012 06:25

    Published by: yasser_egypt on November 22, 2012 06:43

    Hello Yasser

    I really don't know the reason, but it can be 2
    1 - the oracle_forms_patch18
    2 - the version of database
    and then ishould ask you about.
    have you applied the oracle_forms_patch18? because it may be one of the causes of this isseu

    If you apply this patch please apply it first to make sure it's not an isseu forms.

    If you don't have it you can download it from this link

    [http://www.epa.gov/storet/archive/Oracle_Forms_6i_Patch_18.exe]

    Respectfully
    Khaled Farouk

  • How to insert data into the database using smartview

    Hello
    I am trying to insert data into the database using * "Send data" * button on the Ribbon of Essbase.
    My database is empty.

    I opened an ad hoc network, it returns * "#missing" * in all cells
    I have modified the cells and provided data in the cells that I want to. Now, I supported on * "Send data" * button.
    It just reloaded the adhoc grid instead of submit data, I rechecked the data through data console Administrative Service are not inserted.

    I am following the right way to insert data? If not, could you please suggest me how (Populate) insert default data in the database?

    --
    VINET

    You go about it the right way, once you have submitted if you réactualisiez then data values should be there, if you POV is against members of dynamic calc and then data not written to the database, you need to check the Member properties of your POV.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Upload data to the database

    Hi all

    I have a problem with my request. I've created a sample application that I can show you my problem. I want my application to download data from database to the data grid - as ´s ok. But when I want toload data from database of the data grid, it doesn´t work - when I click on Update button, in early doesn´t of database connection. I use Wamp Server 2 to communicate with the database.

    I think that there is not problem in my source code (I checked so many examples). I think there is a problem with the Zend Framework - I'll try to explain this problem.

    I found that request not to upload data to the database when the folder structure is - look at photo. It is automatically created service in service folder - in my case Tabulka1Service). But what is confusing is that application downloads data from database without any problem:

    Capture1.PNG

    Request only download data from database when I move all the items to a folder of service - look at the picture. After that when I click the button it starts to connect to the database and downloads the data correctly.

    Capture.PNG

    Why I ask you to help me with this problem?

    Because I think it is very bad practice to move items to the folder of service whenever I created new service - I have to completely reconfigure entire service after that - and his loss of time I think.

    I would be happy for all the help.

    Thank you

    Try

    tabulka1 = dataGrid.selectedItem as valueObjects:Osoba

    But u declare

    Tabulka1 id="tabulka1"/>
    

    your dataGrid consists of a crowd of valueObject:Tabuka1 or valueObject:Osoba?

    Here are the various objects you can not their equal.

    It is a good tutorial on youtube, just look at

    http://www.YouTube.com/view_play_list?p=D7BB0C9BF6C87881&playnext=1&v=x-Da1SD1Ykk

  • Current version of the data in the database has changed...

    Hi, I have an updated report which hurts...

    This is the SQL code for it:

    Select
    "ITEM_BOM_LINE_ID,"
    "ITEM_BOM_ID,"
    "ITEM_ID",.
    "ID_PROCESSUS,"
    "SEQ,"
    DECODE (ID_PROCESSUS, NULL, QUANTITY, ") AMOUNT.
    DECODE (ID_processus, NULL, UOM_CODE, ") uom_code,.
    "VOLTAGE_PROBE,"
    'POSITION ',.
    "POS."
    "DESCRIPTION".
    of ' #OWNER # '. " TOFC_ITEM_BOM_LINES ".
    where "ITEM_BOM_ID" =: P20_ITEM_BOM_ID

    In that select it the ID_processus or the item_id is defined. Cannot assign at the same time.

    The description field is what hurt. When I run the page and try to write something in the description field on a line where ID_processus is defined this error appears:

    Internal error in the routine mru: ORA-20001: error in MRU: line = 1, ORA-20001: ORA-20001: current version of the data in the database has changed since the user has launched the process of update. current checksum = "B54E29267EC18630B58818FF4B710D41" element = '925466414031BD2DE082A6F954889340' checksum., update of "trailers". "" TOFC_ITEM_BOM_LINES ""ITEM_BOM_LINE_ID"= value: b1, 'ITEM_BOM_ID' =: b2, 'ITEM_ID' =: b3, 'ID_processus' =: b4,"SEQ"=: b5, 'QUANTITY' =: b6, 'UOM_CODE' =: b7, 'DESCRIPTION' =: b8

    It works fine when I write something in the description field on a line where item_id is not null. Also all other fields work perfectly.

    Can someone tell me whats wrong?

    Thanks :)

    Hello

    After a re-read of your OP, I noticed that
    DECODE (ID_PROCESSUS, NULL, QUANTITY, ") AMOUNT.
    DECODE (ID_processus, NULL, UOM_CODE, ") uom_code,.
    in your query.
    And it breaks when ID_processus is NOT NULL (and ITEM_ID is null), isn't?
    That's because you change (sort of) the QUANTITY and the UOM_CODE when that happens. Your query retrieves different values than those contained in the database (for example "instead of the actual value). And these 'new' values are compared with the values of database and then there is a difference. Where the error.

    But now: how to solve?
    What exactly are you trying to achieve with this construction? Is there a business rule that AMOUNT and UOM_CODE must be blank if ID_processus is not null? To add a constraint validation to your table and just show the values in your table. Or to show or hide a value of the terms of use. Or use another (made) column in your query that is not bound to a database field.

    I hope this helps...

    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this response in marking it as useful or Correct ;-)

  • How to save data to the SAP database?

    Can someone tell me please how to warn of data to SAP databases?

    Thank you

    Aerts

    Hi AEK.

    Take a look at OSS 105047 - Support for Oracle in the SAP environment functions that you will find this under

    14 Oracle Data Guard

    You can use "physical Standby".
    You cannot use "logical Standby".
    You are allowed to use Fast-Start Failover (FSFO) but the SAP is not supported.
    You can use Data Guard Broker.
    You can use the Maximum Performance Mode, maximum availability Mode and Mode of Maximum Protection.
    In the case of maximum availability and maximum Protection, you must pay attention to a fast in order to avoid network connection performance problems.
    Maximum protection causes the primary database to terminate in the event of problems in the database pending.

    And you will find the 2010 http://www.oracle.com/us/solutions/sap/wp-ora4sap-dataguard11g-303811.pdf Oracle white paper

    Maybe some SAP users have answers for you http://scn.sap.com/community/oracle/content?query=guard

    concerning
    Kay

  • Send form data to the database with scripted button

    I know not how to connect the form to an Access database. However, I do not want the form to connect to the database until the user clicks a button. When the user completes the form and clicks the button, I need the form to connect to the database and save form data in a new record. How script button to do this?

    Any help is appreciated.

    I think that you will need to use a layer between the two.  For example, LC, you can do a process that takes your data and stores it in your database.  Your form may submit to this process through SOAP and REST.

Maybe you are looking for

  • Airport utility cannot find the time Capsule, but wireless is fine

    All of a sudden my TC stopped taking backups but the wireless works fine. Airport utility stopped recognizing the TC suddenly... I think it started acting weird it's because last night, I unplugged the TC of the socket directly instead of turn off...

  • I am trying to sign a certificate (using Mac) and Firefox will not accept the password.

    The certificate is used to authenticate my identity. He rejects every time - turn the box a certificate with password space empty. I've seen a few questions about certificate issues in Firefox there a few months they will be solved? Any ideas of a wo

  • Slatebook 14

    What is expected for a 14 Slatebook autonomy? (I think I need to completely close all night - right or stay connected [a little beats the purpose of mobile computing]). Thank you b

  • Skype on Ubuntu 12.04 4.2.0.11: cannot open a session

    I have Skype on Ubuntu 12.04 4.2.0.11. As I performed the Ubuntu Ubuntu 12.04 11.10 system update I've never used Skype. Before I made the update Skype was working properly (I used more than once!). Now, I tried for days to connect to Skype but my cr

  • No puedo playsecure en mi pc dvd

    Buenas tardes, ayuda por favor, mi pc no los lee dvd, me da e next message; El Windows Media Player no can produce DVD el porque no hay wont in el equipo any compatible DVD descodificador. Engo TXP, debo hacer?, gracias.