To Calculate total while check box enabled in oracle forms.

hi All,
I am Using Oracle 10g forms. I have a form developed with some 15 fields in it and 10 Records in it.
i have a field called TONS and another CHECKBOX Fied.I have a TOTAL field which is located below to TONS field.
Now By using this TOTAL Field, i wanted to calculate TONS for records only when CHECKBOX field is enabled.if CHECKBOX field is disabled then
TOTAL field Should not calculate the Tons field. how can i do it? Pls Help me...
Thanks in Advance.

If I were coding this, I would use a Calculated field to total your TONS field. Your Calculated field total would be stored in a hidden field and your checkbox code would simply assign the value from the hidden field to your displayed total field or set the displayed total field equal to null depending on the state of your checkbox.
Hope this helps,
Craig B-)
If someone's response is helpful or correct, please mark it accordingly.

Similar Messages

  • Check Box item in oracle forms

    Hello experts,               I am new in oracle forms. I am using oracle forms 11g,weblogic server 10.3.5,oracle database 11g at windows 7 platform. I have a simple data block from base table.there is a tabular form is selected, It has four rows(records). Now I have to make 4 check boxes adjacent to records in data block in another data block.Now I have to make functionality in which only those records should be inserted into database table for which corresponding (in front of the record) check box is checked. Thank you regards aaditya.

    Hi,
    Commit_Form built-in function commits all the available data base fields.  So you have to use separate insert into statement to complete your task.
    Like...
    for i in 1 .. 4
    loop
         first_record;
         if :chk_box='Y' then
              Insert into <table_name>  values(field1,field2,....);
         end if;
         next_record;
    end loop;

  • Event to use for Creation of a Check box on Warehouse master Form

    Hi experts
    I have created one check box on Warehouse Master form in AfterMENUClick Event. It works fine if I open the form on Menuclick . But If I open the Warehouse master form by Link button from any document, it does not show the check box. I also want to deactive the checkbox if once it checked. So, I do some coding in Data_Load event. It also works fine If I open the form by Menu click. But if I open the form by Link button it gives error " Invalid Item Id ". 
    So I want to know which event I should use to create the check box and which Event I Should use to Deactive the Check box

    Thanks Nagy for quick reply
    I use the following code for creation of check box
    <B1Listener(BoEventTypes.et_FORM_LOAD, False, New String() {"62"})> _
            Public Overridable Sub OnAfterFormLoad(ByVal pVal As ItemEvent)
                Dim ActionSuccess As Boolean = pVal.ActionSuccess
                Dim form As Form = B1Connections.theAppl.Forms.Item(pVal.FormUID)
                'ADD YOUR ACTION CODE HERE ...
                Dim oForm As Form
                Dim oMatrix As Matrix
                Dim oItem As Item
                Dim sysItem As Item
                Dim BinCheck As CheckBox
                Dim BinLabel As StaticText
                Dim cmbBinCode As ComboBox
                oForm = B1Connections.theAppl.Forms.ActiveForm
                oForm.PaneLevel = 1
                sysItem = oForm.Items.Item("2000002010") 'Excisable check box
                oItem = oForm.Items.Add("BinChk", BoFormItemTypes.it_CHECK_BOX)
                oItem.Left = sysItem.Left
                oItem.Top = sysItem.Top + 20
                BinCheck = oItem.Specific
                BinCheck.Caption = "Bin Enabled"
                BinCheck.DataBind.SetBound(True, "OWHS", "U_BinEnabled")
            End Sub
    It gives error on sysItem = oForm.Items.Item("2000002010") line Invalid Item Id
    Plz check and tell the problem
    Regards
    Gorge

  • Web enabling of oracle forms and reports

    how can i web-enable oracle forms and reports?
    what is the least configuration of my oracle 9i application server for it to web enable forms and reports? can i also use my webdb server to web-enable my oracle forms and reports? how?
    pls give me simple steps...
    null

    You can use either webdb or iAS to web enable forms and reports.
    You can find and read the full process of doing this under the documentation tab on http://otn.oracle.com/products/forms and http://otn.oracle.com/products/reports

  • Data source selection check box Enabling

    Hi All,
    Good day, This in Ravi .
    I need one small help from you.
    We have a data source named 0co_pc_pcp_01.
    we need to check the selection check box  for the field ELEM(cost component number).
    But it was in disable mode.
    Please could you tell how to eanble that selction check box.
    Bcoz i need to set that option for that field and have to load in BW with selctions in infopackage.
    Please could you help me reagrding this, waiting for your replies.
    my maild id is [email protected]
    Thanks & Kind Regards
    Ravi

    Hi Ravi,
    Which system is it? R/3 Dev pr R/3 QUAL? If it is R/3 Dev then you can goto the TCode RSA6 select your data source and click on the pencil icon on the menu bar. It will ask for a Transport Request, you can give one and then it will take you to the change mode of the data source, there you can do the changes and generate the data source.
    But if it is R/3 QUAL then you can't change it there straightaway. You have to first change it in R/3 DEV and collect these changes in a Transport Request and then transport it to R/3 QUAL.
    Hope it helps..

  • Calculate total while designing query

    Hi All,
    I have a keyfigure purchase value . I am taking it in one column.
    Now I want to calculate total of purchase value for particular month.
    I can restrict time characteristic with variable but m not getting how to calculate total of this keyfigure.
    Please advise.
    Regards
    Shweta Goel

    what type of calculations?
    when you restrict a query by month you get the total in the result.
    if you want to use the purchase value for a month in a calculation, remove dates or order number from the query, have a aggregated result on which you can do the calculation and users can drill down if they need to see detail.
    regards
    Ramesh

  • How can I add check boxes without using the form widget?

    I would like to use check boxes for our facets for our search engine.  You can see an example below.  Is there anyway to do this without using the form widget?
    PJM - Site Updates

    It is not possible to accomplish this with the Muse's Form Widgets. You may need to look for other online solutions and fetch the source code and add to the Muse page using the Insert HTML feature.
    Cheers,
    Vikas

  • How to use check box & dropdownlist in smart forms

    can anybdy explain(any examples) how i can use check box or drop down list in smart forms.is ther any provision like that

    Hi Ranjith,
    To use Check box in smartform do the following:
    Change the editor to 'PC Editor' and take the menu.
    in text editor of TEXT ELEMENTS..
    Insert -> Characters -> SAP Symbols
    in print preview u can't see these changes..
    for more details check this link..
    How to create checkbox in smartforms??
    Ashven

  • Multiple check boxes in an update form using php

    I have a database of the membership of a club. One field in the database is input by checking multiple check boxes. When the insert member record is submitted and multiple check boxes are selected, the information becomes an array of text separated by commas. When the user goes back to the update form, the check boxes are not showing checked in the appropriate fields. Please go to my test site where you will be able to see the code that I have created so far: http://www.usreboot.com/phphelp.php. You will find the php code for the update form in a pdf file located there. You will need a user name and password to look at the update record page. Here you go: user name: wyane, password: wayne. I have submitted this request in the past and have not found success so far. Thanks for your help, Wayne Rowlands

    I am so close. If a member has only one check box checked. I get the check box checked in the update form. Here is the updated code:
    If the member has a number of check boxes checked, none of the check boxes are checked. I am so close. Maybe you can figure out what I am missing.  Thanks, Wayne

  • Multiple check boxes in an update form

    I have a database of the membership of a club. One field in the database is input by checking multiple check boxes. When the insert member record is submitted and multiple check boxes are selected, the information becomes an array of text separated by commas. When the user goes back to the update form, the check boxes are not showing checked in the appropriate fields. Please go to my test site where you will be able to see the code that I have created so far: http://www.usreboot.com/phphelp.php. You will need a user name and password to look at the update record page. Here you go: user name: wyane, password: wayne. I have submitted this request in the past and have not found success so far. Thanks for your help, Wayne Rowlands

    Thanks for getting back with me. I do have two tables. One table is the "members" table where all the information for the members is stored. One of the columns is "currentClubPositions". The database has another table which is "positions" which has the list for the positions that a member of the club could serve on. Members of the club may be serving on a number of positions at once, therefore the check boxes. Also, the club is adding and deleting positions over time, so I wanted an easy way to add them and delete them without having to go into phpmyadmin to do this. I have created a form that updates the "positions" table. The check boxes that show up in the insert member record and update member record are dynamic so that when the table "positions" changes, the forms change dynamically as do the queries to sort the database change dynamicaly. When the check boxes are entered, I use the implode function to make the values an array of text separated by commas and that value is inserted in one field of the members table named "currentClubPosition". I am all ears to hear a better way. Take a look at the web pages (see the original post) that I have created and you will see how all this ties together. Thanks, Wayne Rowlands

  • Check Box Validation in Offline Form

    Dear Experts,
    I have a requirement in an offline form where I have six check boxes, and out of the six check boxes
    user can only select any three.
    Request you to please suggest how to achieve this.
    Warm Regrads,
    Upendra Agrawal

    Thanks a ton Shaira.
    Full points to you
    Just wondering  what is the "Validation Script Message" for each UI.
    warm regards,
    Upendra Agrawal

  • How to Prepopulate check boxes in the process form

    Hi All,
    I need to prepopulate "Change Password at next login" in the AD Process Form. i.e. if some one select this check box in the user creation form and create a user, i need to prepopulate it in the AD process Form. Currently, it is not prepopulated. So, it is not updated on the Active Directory. I'm using AD Connector pack 9.1.1 .
    I need to prepopulate the "User must change the password at next logon" check box in the AD Process Form. I have done the prepopulate on text fields. They are working fine.
    But, stuck with this check box prepopulation.....
    Can anyone help me on this issue....
    Regards,
    Chaturanga
    Edited by: chaturanga on Sep 9, 2009 2:35 PM

    Even if you get the checkbox right it is not entirely clear that the connector will read the box correctly. It all depends on how the connector code was written.
    An alternative is to set the LDAP attribute through a custom connector. Email me if you want example code for this.
    Best regards
    -Martin

  • Use check box for report and form

    Hi Expert,
    I try to use check box to select multiple rows in a report and then click on a button to go to a form on another page to choose some values from the form and then do a mass update for records selected in reports.
    I read the "How to Work with Check Boxes" in 2 Day Developer guide, it works fine to select mutiple rows in report and do update with process in that report page.
    However, if I click on a button to go to another page which contains a form, seems the values stored in the package array are cleared and not passed to that page.
    Do you know how I could make this work?
    Thanks a lot,
    Jessie

    Hello Sakti,
    I am also in ECC6.0 & if i see the definition of the BAdI BADI_TAX1_XTXIT_SET, "Multiple Use" checkbox is checked! What are you trying to do - trying to create an implementation?
    @Prabhu: Although the BAdI is "multiple-use", but there is not filter applied to it. Next time do your checks properly before replying
    BR,
    Suhas

  • Openscript crashing abruptly while trying to record on Oracle Forms

    Hi ,
    I am having issues with OpenScript tool where it is crashing/closing when I am trying to record some actions on Oracle Forms.It seems like a memory issue but I am not sure how to rectify it or investigate what is the cause.Are there any temp files which needs to be cleared ?Are there any logs which I can check to see what the issue is?I am using a Windows-7 machine and running OATS 9.3.
    Thanks,
    Megha
    Edited by: Megha_Agarwal on 23/08/2012 19:45

    Hello Megha
    You can try the following:
    Go to your shortcut to OpenScript in your Programs menu, and right click on it. Select Properties.
    You will see Popup OpenScript Properties. Ther is Shortcut tab located text box Target. Copy the content of this text box in some notepad file, as a back up, and increase Xmx to 1024 for example
    C:\OracleATS\openScript\OpenScript.exe -configuration openscript_configuration -vm C:\OracleATS\openScript\jre\bin\java.exe -vmargs -Xmx512m -XX:MaxPermSize=256m
    You can try different values.
    Let us know the result
    Cheers
    JB

  • Check image metadata in Oracle Forms 6.0

    Hello,
    I need to check if an image selected by the user in a Form has the EXIF format because, if so, I need to convert it (using an IrfanView command) before persist it in the database.
    I am developing using Oracle Forms 6.0 and Oracle 9i. Do you know if there is a way to check an image metada data inside the Forms.
    Thanks for answering.
    David

    You can also verify EXIF on client side with java (before you post image into database) (Java plugable component) ;)
    some libraries...
    http://drewnoakes.com/code/exif/
    http://code.google.com/p/metadata-extractor/
    http://jheader.sourceforge.net/
    Or you can also make Java stored procedure on database side...
    bye..

Maybe you are looking for

  • Photoshop Elements 6 lags for 10 minutes when starting in Mac OS

    Recently our photoshop elements 7 starting lagging at start-up, for a very long time.  We are running Mac OS 10.5.7.   Nothing we do gets it to wake up, it says "scanning for presets"

  • AS3 Timer to change frames not working correctly. PLS help

    HI I am having a big of trouble with this code to change frames on my timeline. I thought my code below would work fine but its not. For some reason it will go to frames 1-4 (4 is the last frame) then it will go back to 1 again just fine as its suppo

  • Time Reversed Layers Have Blank Frames in CC

    Hey guys.  So in my project file I have a lot of looping footage, which I achieved by using time reversed layers.  I started the project file in a trial version of CS5.5 last week, but upgraded to Creative Cloud yesterday.  Since moving to CC I notic

  • Cannot run InDesign CS or Photoshop CS after install

    I have installed photoshop cs and InDesign CS onto my iMac on Mac OS X 10.3.9. They have installed fully and I have entered the serial numbers in and they have been authorised. The folder then appears in my HD:Applications as normal. However, when I

  • Logistics extraction for QM - qRFC problem

    Hi, I have problem with LO extraction for QM - with delta. There are several records in 2 ques (MCEX05 and MCEX05_1), but the job for moving them into BW delta always ends with errors (Message_type_x). I'm thinking about deleting this que and start r