processing the page and inserting the calculated field

Hello

I use Apex 4.2.5 and oracle 11g

In my form page, I have the size of fields assigned and used. the third "freesize" field that has to calculate the other field1 allocatedsize two fields (ie) - usedsize field2.

the third freesize of field must be filled in automatically after calculation. When I press button creation or changes button apply, it must be updated automatically in the folder.

How to do?

Thank you

Hi KJChellam,

I suggest that you look at this thread for more information.

Search for: dynamic action to email of automatic calculation based on the fields firstname and lastname in the form created in APEX

Kind regards

Benjamin.

Tags: Database

Similar Questions

  • You will have to jump the calculated fields in a form rather than to stop them.

    I created a nice shape with the calculations of totals and subtotals.  However, when you complete the form, Adobe stops to calculated fields as if I had to do an entry in each. I want to jump over the calculated fields.  Is this possible?

    Set them read-only.

  • How to filter records in a main query of RDF based on the values of the calculated fields

    Hello

    I'm working on a report of RDF, where I have my main request which has four fields.

    (1) the unique id for the field

    (2) numerical value 1

    (3) numeric value 2

    (4) numeric value 3

    I added a CF_Total of calculated field.

    The main query returns all the records, but I want to only show that these fields for which the CF_Total has a particular value.

    Can anyone help me about how to proceed.

    Concerning

    Hawker

    Hello Hawker,

    This is an example, how you can filter based on the formula column. I don't know exactly where you would use. And other related issues.

    Give the idea and example how you can start.

    Thank you

    Hamid

  • How to insert a calculated field?

    Hi all

    My sincere apologies if this is a bad place for this post.

    I have a table that takes two values dynamically calculate the third value and must insert into the database.
    The purpose of this is based on this third value, I have a lot of reports to generate.

    My table is:

    col1 col2 col3
    40 100% 40
    15 32 4.69%
    100% of 88 113,64

    So basically, the third column is to generate dynamically using the first two fields (Col3 = (Col1 * 100) / Col2)

    Can any body help me in writing a query for this kind of situation (in ORACLE APEX is appreciated or PL/SQL or oracle/SQL else is good too).

    Thanks in advance.

    Published by: user5564103 on January 13, 2010 22:40

    Hello
    If you have values for the first 2 columns of the third column filling should not be a problem at all.

    Assuming that

    tab_1 (x number, number y, z number) / * correct accurately * /.

    Insert into tab_1 values (x,y,x*100/y);
    

    For some reason you can't do this, you can

    update tab_1 set z=x*100/y
    where...
    

    See you soon!
    Bobin

  • How to return a NULL value in LOV and insert into a field of allowingNULL number 4?

    Hello

    I have the following LOV and the return_value is PeopleId which is number 4, allowing NULL. And the LOV options are as follows:

    LOV named--> select named LOV-
    Show Extra values-> no
    Dynamic translation-> - untranslated-
    The number of columns - > 1
    Display Null-> Yes
    Null-> - Select value-
    Return NULL,-> NULL value
    ^^^^^^^^^^^^^^^

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

    List of values definition:
    Select Lname | ', ' || Fname | ' ' || Mname as display_value, PeopleId as return_value
    of PEOPLETB
    where PEOPLETYPE ('i', 'HERE', 'IF')
    order by 1
    --------------

    Given that PoepleId is a number 4, allowing NULL. I want a NULL value will be inserted, if the user does not select anything in the drop-down list. It seems that I would get "ORA-01722: invalid number" error when the PeopleId msg is null (ie: user doesn't have a selection). What is the good 'return Null value' I need to put it in? I tried "NULL" (see above) or nothing, it still does not work.

    Any suggestions?

    Thank you very much
    Helen

    Hello Helen,.

    You have found one of the many sources of my frustration with APEX. Here's what I do:

    In the definition of the element in your page, go to the LOV part and implemented like this:

    Display Extra values: Yes a dynamic conversion (I ignore this)
    Number of columns: 1 display Null: No.
    Display null value: (leave blank) return Null value: (leave blank)

    An empty row is displayed when the user comes first to the screen. If they do NOT select the drop-down list, the value is left empty (null).

    If anyone has a better way, I will definitely experiment with it.

    Don.

  • How to disable the warning of validation on the calculation (read-only) field in the table

    Is it possible to add a line in a calculation script (JavaScript) that prevents a dialog box of a calculation field validation?

    Scenario:

    • Working with fields in a table inserted.
    • In each line, I have a couple of fields that the user has entered. These fields have a Validation model has allowed that the user must enter the data correctly.
    • There is a calculated field based on the data entered by the users. It is this field that throws a warning dialog box "the value entered for Total_Row1 is not valid. "To ignore the validations for Total_Row1, click on ignore.

    Even if I turn off the Model Validation on fields used for the calculation of the warning dialog box always appears. So, it seems to be isolated in the field of computing.

    The calculation area displays the time and I got it originally set as a Date/time field, but also tried to use a text field (as the calculation should appear as 0:45 for 45 minutes in this area).

    I have a suspicion that the warning appears only because I used an array for formatting fields, as I used similar validation profiles and other calculation fields and see not the message when the fields do not appear inside the table.

    I think of easier workaround would be to disable validation for this particular calculation field, but I have no idea how the script that. Any help appreciated lot.

    CARI

    I discovered the problem.  In a word: it was a mistake by naming the fields.

    • I have fields named with line numbers in the field name (for example FieldName_Row1).
    • and fields calls with FieldName_Row1.formattedVallue must have triggered some confusion.

    As soon as I removed the word 'Row' of file names, the question of the warning dialog validation mystery Adobe Acrobat for the calculation field have disappeared.

    Ago about 3-4 hours of my life that I won't be back... ha - ha but if someone else has the problem, I thought I better share my discoveries

  • How to create the new page in the master page and make reference to the reference text framework previous page id?

    I have problem to apply/create an element of the master page and how to run the previos page text block to create the page text

    InterfacePtr<IPageSetupPrefs> iPageSetupPrefs (,static_cast<IPageSetupPrefs * > (:QueryPreferences() IID_IPAGEPREFERENCES, docRef)));

    if (iPageSetupPrefs is nil) {

    Assert (iPageSetupPrefs);

      break

    }

    InterfacePtr<ICommand> iNewPageCmd (CmdUtils:kNewPageCmdBossCreateCommand());

    if (iNewPageCmd is nil) {

    Assert (iNewPageCmd);

      break

    }

    InterfacePtr<IApplyMasterCmdData> iApplyMasterCmdData (iNewPageCmd, IID_IAPPLYMASTERCMDDATA );

    if (iApplyMasterCmdData is nil) {

    Assert (iPageCmdData);

      break

    }

    InterfacePtr<IPageCmdData> iPageCmdData (iNewPageCmd,UseDefaultIID());

    if (iPageCmdData is nil) {

    Assert (iPageCmdData);

      break

    }

    Int32 numPagesToInsert = 1;

    PMRect pageSizeRect = iPageSetupPrefs->GetPageSizePref();

    Int32 pos = iPageCmdData->GetNewPageInsertPosition();

    ISpreadGeometry InterfacePtr<IGeometry> (spreadList->QueryNthSpread(0));

    if (iSpreadGeometry is nil) {

    Assert (iSpreadGeometry);

      break

    }

    spreadUIDRef =:GetUIDRef(iSpreadGeometry);

    PMRect dfltPMRectPageSize = iPageSetupPrefs->GetPageSizePref();

    PMReal pageWidth is dfltPMRectPageSize. Right () - dfltPMRectPageSize. Left ();

    PMReal pageHeight is dfltPMRectPageSize. Bottom () - dfltPMRectPageSize. Back to top ();

    PMRect usrDefPMRectPageSize (0, 0, pageWidth, pageHeight);

    K2Vector< PMRect> pageBoundingBoxes;

    for ( int32 i = 0; i < numPagesToInsert; ++ i) {

    pageBoundingBoxes. push_back (usrDefPMRectPageSize);

    }

    iPageCmdData->SetNewPageCmdData(spreadUIDRef, numPagesToInsert, pos +1, & pageBoundingBoxes, nil);

    / / CreateSpreadFromSpread (docRef, spreadUIDRef);

    InterfacePtr<IBoolData> iBoolData (iNewPageCmd,UseDefaultIID());

    if (iBoolData is nil) {

    Assert (iBoolData);

      break

    }

    bool16 allowShuffle;

    if (this->GetShufflePref(allowShuffle, docRef) iskFailure) {

      break

    }

    iBoolData->Set(allowShuffle);

    CmdUtils:ProcessCommand(iNewPageCmd);

    Above code, able to create a page but the problem in applied master page?

    Using document Pages face?

    I think that your posToInsertAt for IPageCmdData::Set is incorrect.

    If the doc does not have facing Pages, posToInsertAt = 1;

    If doc is facing Pages and page insertion is the left-hand Page, posToInsertAt = 2;

    If doc is facing Pages and insert page is the right Page, posToInsertAt = 1;

    posToInsertAt = spread-> GetNumPages();

    newDocCmd and newDocCmdData are not used, you can delete these.

  • Display 'ERROR' in calculated field so dependent on the invalid fields

    With the help of oracle forms 10 g 2.

    I have a field on a form that calculates its values from the other 3 fields/values provided to it. Is currently is a numeric field. The form acts as a case of mistaken for why a presentation could not operate, and so the fields could have given "bad" in them. If one of the three fields that are used for the calculated field is invalid, is there a way to display 'ERROR' in the calculated field or should I simply display an error message instead?

    IE:
    If a is 1, b 2 and c 3 calculated field would display "6".
    If a is 1, b 2 and c f the calculated field would display "ERROR".

    If you make a char data type, the calculated field, you can put whatever you want in it, numbers or the Word error.

    You can even create a calculation function that returns the text - either digital or alpha.

  • Need help with the calculation on the invoice form

    I've never used Adobe Acrobat and know nothing about JavaScript.  I am creating a form of invoice.  I have it almost complete but can't do 2 things resolved.

    1. If a line on the invoice is not used, I need the amount column empty, not 0.00.

    2. I need to add 2 totals (parts and labor) and calculate the sales tax on the total of these 2 items.

    Everything I read is way over my head. I'm an accountant, not a programmer!

    Thank you

    # 1, you can configure a custom JavaScript validate it is simply:

    // Custom Validate JavaScript
    if (+event.value === 0) event.value = "";
    

    # 2, use the simplified notation next to the calculation field:

    Parts * work * 0.085

    Replace 0.085 with tax rate that you use

  • Manually change the result of the calculation

    I have a form that I want to be able to manually change the answer to the calculation. The goal is to accept a value calculated, unless the user enters a different value in the calculated field. The calculated value will usually be the desired value, but not always.

    I was almost able to achieve using several fields (that I have that knowledge base of javascript), but there is just one problem where a value appears only a touch later. I know not yet why, as the other field is fine.

    I have attached the form using: https://dl.dropboxusercontent.com/u/11052710/Adobe%20Acrobat/Overriding%20LVEF.pdf

    Hello.

    This topic answers the same question: http://abracadabrapdf.net/forum/index.php/topic, 3009.0.html

    You can download the sample PDF content in the 4th answer here: http://abracadabrapdf.net/forum/index.php?action=dlattach;topic=3009.0;attach=2506

  • Process of page does not work when column for APEX_ITEM. HIDDEN is not displayed

    I created a region of report based on an SQl query. In the query that I have three columns that should be in a table, but 2 of the 3 columns should not be visible on the report. Therefore, I don't have to Show checked for them in column of the report region attributes.

    In my tests, if I do not display the columns that are in the tables in the report and run the process of page to insert records into a table, I get the error "no data found". Conversely, if I show columns, my insert is successful.

    That's how work bays? Or is there something that I did not properly.

    Here is the query for the report:
    SELECT APEX_ITEM. ASSISTED BY CHECKBOX (1, ROWNUM, "CHECKED");
    APEX_ITEM. Hidden(2,C.PARTY_ID) ID-this is the column I want to hide.
    APEX_ITEM. Hidden(3,C.PARTY_TYPE_CODE) PTYP-this is the column I want to hide.
    C.PARTY_TYPE_CODE,
    S.PERSON_ID,
    S.PERSON_FIRST_NAME AS THE NAME,
    C.PARTY_CASE_ID

    OF THE CASE. C PARTY
    JOIN INTERNAL DN. PERSON S
    ON C.PARTY_ID = S.PERSON_ID

    WHERE C.PARTY_CASE_ID =: P18_CDBCASE_ID
    AND C.PARTY_SEQ_NO =: P18_SEQ


    Thank you
    Keisha

    Published by: user4579720 on 16 Sep, 2009 14:30

    Keisha,

    If you uncheck the "Show" option, then the HTML corresponding to this element is not rendered on the page. Thus, when you try to inspect this element through APEX_APPLICATION. G_F02, it does not exist.

    A trick I use when I want to have hidden items on the page, but does not make them take all space, is to concatenate them to the items that will be visible.

    Using your query for example, I would like to re - write like this:

    SELECT APEX_ITEM.CHECKBOX(1,ROWNUM,'CHECKED')ATTENDED,
    APEX_ITEM.HIDDEN(2,C.PARTY_ID)
      || APEX_ITEM.HIDDEN(3,C.PARTY_TYPE_CODE)
      || C.PARTY_TYPE_CODE PARTY_TYPE_CODE,
    S.PERSON_ID,
    S.PERSON_FIRST_NAME AS NAME,
    C.PARTY_CASE_ID
    
    FROM CASE.PARTY C
    INNER JOIN DN.PERSON S
    ON C.PARTY_ID = S.PERSON_ID
    
    WHERE C.PARTY_CASE_ID = :P18_CDBCASE_ID
    AND C.PARTY_SEQ_NO = :P18_SEQ
    

    Thus, the second report APEX column will contain the HTML code for the PARTY_ID & PARTY_TYPE_CODE hidden items, as well as the value of PARTY_TYPE_CODE. When you submit the page, you should not have problems.

    Thank you

    -Scott-

    http://sumnertechnologies.com/
    http://spendolini.blogspot.com/

  • Need of a calculated field in my model

    Hello

    is it possible to have a calculated field in my model. The valid calculated field when I create an INTERNATIONAL organisation is based on the comic book which has the calculated field.

    My point is:

    -Need a field to calculate the average of days between two dates (like the start and end dates) to different folders.


    What is the best way to do it? a calculated field? Thank you.


    Kind regards

    Hello

    You push the calc up to your IO, or do it in the model. There is a blog on Calc data here:

    http://blogs.Oracle.com/XmlPublisher/2008/09/date_functions.html - Intro
    http://blogs.Oracle.com/XmlPublisher/2009/09/groovy_date_functions.html - date-specific diffs

    Tim

  • I get a Script Error failed. I think it is because the domain name is on page 1 and the field with the calculation is on page 2.

    I get a Script Error failed. I think it is because the domain name is on page 1 and the field with the calculation is on page 2.

    The formula is just + Cash.  I don't know how to tell him to look on Page 1.  If I use the same domain on Page 1, the formula works so I know that this is not something in the name of the field.

    It received NO response

    Page1.cash should do it. If not, you can use CTRL + click to enter its name in your script.

    1. Select the field that you add the script.
    2. Scroll the design view until you can see the object whose name you need. (Is not necessary if the object is already in mode)
    3. Click inside the script window to place the cursor where you want the name of the other object.
    4. Hold down the CTRL key while clicking the object whose name you need.
  • Make the fields to a custom read-only after clickingsubmit button page to insert page

    Hi all

    I have a custom insert page. When the user enters and click on submit, I want to do all the other fields read-only except 'create another button of registration '.

    Also, I have a lov in my custom page, when the user selects invalid values, error messages will be displayed. My problem is same after displaying the error message, the user has the option to navigate to the order of the day and enter data and submit. How to prevent the user to navigate to the order of the day if the value entered is not valid.

    Please suggest your ideas.

    Option 1: Add a controller to the dynamic region and ad whereclause LOV to limit the LOV query, so that it will not allow the user to select the 100.

    Option 2: The LOV (if required), just remove the value of the element LOV LOV action, based on the State.

    I hope this helps.

    See you soon

    AJ

  • I work in forms in Adobe Acrobat Pro - My Add a text field and add the jump buttons checkbox in the page and do not place I wish it. How should I do?

    I'm working on a scanned page that I insert form fields. I used this exact page before with no problems, but now when I go to add a text field in the box, it jumps all over the page and not have a place where I want to. How can I solve this problem. I tried to open a blank version of the page and they all do the same thing.

    Go to view show/hide - leaders & Guides and uncheck the snap to grid

    option.

    Wednesday, June 11, 2014, at 8:42, surfer hawaii [email protected]>

Maybe you are looking for

  • iOS10 allows to respond to messages without unlocking the phone?

    Hello world Is this normal with iOS10, of the lock screen to the top update since the last version of iOS9, I can do the following: Someone sends you an iMessage Click on the "home" button to put the lock screen Scroll down from the top of the screen

  • Satellite A60-106 Internet button will not work

    HelloI recently had my laptop repaired as it kept turning off (an accumulation of dust internally). However, since returning the internet button no longer works. I have Windows Vista Ultimate installed but cannot find where the key turn it back on. C

  • iTunes can't connect to the store purchases.

    I'm getting the following in a pop -: iTunes can't connect to the store purchases.  If you have any firewall software, make sure it has been set to allow communication on port 443. I had not even the firewall on when I got the message. I have

  • Partial blackBerry smartphones load black screen

    I need help with my Blackberry 9700.  I noticed that he had a blank screen and was unresponsive, so I pulled the battery with no luck. It shows the loading screen (with an initial red LED) for 90% of the way and then goes to a blank screen. No lights

  • NDP activity Workflow step comments

    Can someone give us the sql code to find the NDP activity Workflow step comments?I can't find them! The 6.111 schema does not seem to reference where they are