Adding a computation in my form

Hello Experts from around the world :)
Well i am having this challenge and i cant get my head around it at the moment.
I have to create a computation as follows:
i have a field that i have to enter values (field A)
then another field that will have to perform a cummulative of the values of field A, store it in my table and display it in my form.
anyone has an idea of how i can perform that plz
thanks

I have found that you can use "Oracle Analytical functions" to calulate values like this on the fly and then store them as needed by comparing the calculated value to the stored value.
It will take some testing until you get familiar with the code but it is very powerful.
This link is just one example of the many web pages that can introduce you to "Oracle Analytical functions"
http://www.orafaq.com/node/55
It could be a scheduled daily, hourly, etc...
i.e.
select
my_col1_data -- one or more fields out side of the columns FIELD_A and FIELD_B
, FIELD_A
, FIELD_B
, sum(FIELD_A) over (partition by some_columns_that_define_group
order by some_columns_as_needed )     FIELD_B_CALC
from my_table ;
Notice that a "group by" clause is not used with the {sum... over...} "Oracle Analytical function".Good Luck... :)
v/r
RJones

Similar Messages

  • I am unable to connect to my RackSpace Windows Server via ARD. I have added a computer entering the ip address, username, and password but I can't establish a connection. I am missing a setting or to step that is different in ARD?

    I am unable to connect to my RackSpace Windows Server via ARD. I have added a computer entering the ip address, username, and password but I can't establish a connection. I am missing a setting or to step that is different in ARD?

    ARD only works with Windows computers if the Windows computer is running VNC server software.  Even then it can only control and observe.  Do you have this installed?

  • In using Adobe Acrobat 8 Professional I have added oval shapes to a form, but they do not print.  How do I get all shapes to print?

    In using Adobe Acrobat 8 Professional I have added oval shapes to a form, but they do not print.  How do I get all shapes to print?
    I am using a Dell PC with Windows 7 Professional as the Operating System.

    File > Page Setup = Scale
    The Scale control is what controls the size of what is printed to paper. 100% is usually the best setting.

  • Adding a field to a form based on a table

    Hi
    I am unable to make the following scenario work.
    I have a form which is called from a report. The report passes in an ID parameter. This form field then displays the text associated with this ID because it has a LOV attached to it.
    However, the user is able to select other values from the LOV, which then renders the form useless.
    Is there a way of:
    - disabling the LOV?
    - adding a separate text field to the form where I can display the value I want with no LOV?
    Thanks

    As part of my attempts to make this work, I added a field to a form, with the intention of passing a value into it using the link to the form. But the field does not appear in the list of parameters available to the link.
    why is that?

  • Time Capsule No Longer Backs Up First Computer After Adding Second Computer

    I'm new to this forum and I apologize if this has been answered elsewhere.
    I have a 1 TB TC. I used it to begin backups on my MacBook Pro (OS 10.5.6). I did the first backup on 1/4/09 and, up until today, it has been working very well, with hourly backups, as it is supposed to. Today, I added my wife's PowerBook (also 10.5.6). After the first backup (by ethernet link), it now performs hourly backups on hers. On my MacBook, however, it reports "preparing to backup" for hours, with nothing happening. Again, everything was fine on my computer, until I added the second one.
    Any idea what might be happening?
    Thanks,
    Marty Hewlett

    Problem is solved. It turns out that I had three events that occurred, only one of which caused my problem. As you suggested, adding a second computer had nothing to do with it. A second, unrelated issue had to do with my Cannon scanner driver. An old driver version was producing the Console readout about vendor and device. The real issue was that I had experienced a screen freeze and had to to a forced restart. That likely produced the "deep transversal" discussed in the link to which you referred. In any case, waiting an appropriate length of time finally produced the back up. Everything seems normal at this point. Thanks for the help.
    Marty

  • Adding movies to apple tv form external disk

    I want to be able to add a movie to Itunes from my external disk and then to apple tv, without erasin what has been added in the past but is not in itunes any more.
    The memory in my computer is limited and my movies are all in a external disk. when I add a new movie to apple tv, the ones taht are allready on apple tv are erase automatically because I no longer have them in itunes.
    how do I add movies withour ersing?
    regards,
    Laura

    you need to keep pressing the option key on your keyboard while you drag & drop the content. do not release the option key until you are sure iTunes is just indexing the files. for example, when i add a music track in that fashion, iTunes says +analyzing volume+ ...
    another option would be to uncheck +copy files to iTunes media folder when adding to library+ in preferences > advanced. now you could use the regular +add to library+ command from the file menu. you will just have to remember to re-enable this option when you want to add new content to your internal library.
    for movies already copied to the library, and which you want on the external:
    go preferences > advanced and point iTunes' location to the external. select the movies in iTunes and right-click on the selection. choose +consolidate selection+ from the pop-up menu. when the move is done, point iTunes' location back to the internal and make sure the movies where indeed copied to the external. if so, you can delete the duplicate movie files from the internal.
    JGG

  • Adding a Button to a Form

    I am brand-new to Oracle Forms, but have experience in VB and PL/SQL. Anyway, I have created a sample form based of a simple view. It will run client-server and I can also run it (recompiled) via Forms Server on my Solaris-based 9iAS Apps Server.
    When I go to add a simple button to the form, I see 12 identical buttons stacked up and acting as 1 large button. Same thing for any inerface item. What is going on?
    Using Forms 6i by the way.

    Check the number of records displayed in the datablock that you're adding the button to. It's probably set to 12.

  • Adding attachments to a dynamic form

    Hi there,
    I am creating a dynamic PDF form and I would like users to be able to attach a file (e.g. a word file, photos) to the dynamic form.
    Once the form is completed and returned (in PDF format) I want the person reviewing the form to be able to open the embedded attachments.
    If this possible?
    Many thanks for you help in advance
    Lee

    The user can add attachments by clicking the paper clip icon.
    If you mean you want to add attachments through script or associated with a form field, below is an example where a form check box triggers adding an attachment. It adds an attachment with a description pulled from the caption of the check box. My check box captions end in : which is stripped.
    //Change event of check box
    {variable object in Heirarchy}.attachmentCheck(this, event.target);
    //code in variable object
    function attachmentCheck(checkField, myDoc) {
              var descrip = checkField.parent.nodes.item(0).value.resolveNode("#text").value;
              descrip = descrip.substr(0, descrip.length - 1);
              //app.alert("\"" + descrip + "\"");
              if (checkField.rawValue == "1"){
                        var cancel = true;
                        myDoc.importDataObject(descrip);
                        try {
                                  var objDoc = myDoc.getDataObject(descrip);
                                  objDoc.description = descrip;
                                  cancel = false;
                        } catch (e) {}
                        if (cancel){
                                  checkField.rawValue = 0;
              } else {
                        mBoxResult = xfa.host.messageBox("Unchecking will delete the attachment.", "Confirmation", 2, 1);
                if (mBoxResult == 1) {
                                  var obj = myDoc.dataObjects;
                                  for (var i = 0; i < obj.length; i++){
                                            //app.alert("\"" + obj[i].description + "\"");
                                            if (obj[i].description == descrip) {
                                                      //app.alert(obj[i].name);
                                                      myDoc.removeDataObject(obj[i].name);
                } else {
                                  checkField.rawValue = 1;

  • Adding new field in PE51 Form

    hi experts,
    I want to print a new field in PE51 Form.
    i added a new line in the form.
    but when i selected the single field radiobutton and in change mode double click at the position where i wanted to print a new value it is giving error ie dialog box -
    No data has been set up at this fixed position.
    so are ther any attributes to set for the new line added for data to be printed?
    Please reply me how to do this as soon as possible.
    Thanks & regds,
    imran

    Dear Imran,
    Double click will work only after assigning the source value for the field instead first you should create the value to fetch the data for the field.
    Good Luck.
    Om.

  • Additional Data to be added to 7501/Entry Summary form?

    Hi,
    Just wanted to know if there is any way we could add additional data in the Entry Summary /7501 form?
    If some extra data needs to be added in the form can this be accomplished through GTS? If Yes then do you think any enhancements should be done?
    Thanks,
    Shruthi

    Hi ,
    You can have your custom Z ot Y Form created with the additional data you required . It is possible in GTS, if you first make sure that the additional data that you looking for is present in GTS.
    Kind regards,
    Sameer

  • Adding a field to AD form in OIM 11gR2

    Hello,
    I'm trying to add a field to the AD resource form in order to provision data that is not handled by default by the connector (the scriptPath field). I've followed the instructions in the connector documentation that explain how to add a field by using the design console. Once I was done, my new field was not present in the form that was presented when trying to provision an AD resource. When going to the form designer in the administration web console, the field was not there either. So I've tried adding it by using the web based form designer, but the field would still not show up when provisioning an AD resource. I've purged the cache and even tried restarting the OIM server. Anything I could have missed?
    Thanks,
    --jtellier

    Did you regenerate view or not? Whenever you add any attribute on application instance/ resource form. Its not directly visible. You have to either regenerate view or display ising webcenter composer.
    Refer here:
    http://docs.oracle.com/cd/E27559_01/admin.1112/e27149/customattr.htm#BABBDHBH

  • Regarding adding PDF file to adf Form

    Hi,
    in my application i have created a entity object which uses a database table*( PDF_table)*
    PDF_table has two columns i.e PDF_file (of type BLOB) and PDF description  (of type varchar(100))
    and in the ADF form my requirement is to browse a PDF file stored anywhere in the computer and save it in the database table(PDF_table).
    Can anybody tell me how can i do this?

    Hi,
    Thanks Samith and Shay for the reply..
    By using the links given by you guys i modified my application. but i am getting problem while committing ti Database..
    The source code of my application as follows..
    *<af:document id="d1">*
    *<af:messages id="m1"/>*
    *<af:form id="f1" usesUpload="true">*
    *<af:panelFormLayout id="pfl1">*
    *<af:inputText value="#{bindings.Description.inputValue}"* // description is a attribute of Database Table and of type varchar2
    *label="#{bindings.Description.hints.label}"*
    *required="#{bindings.Description.hints.mandatory}"*
    *columns="#{bindings.Description.hints.displayWidth}"*
    *maximumLength="#{bindings.Description.hints.precision}"*
    *shortDesc="#{bindings.Description.hints.tooltip}"*
    *id="it1">*
    *<f:validator binding="#{bindings.Description.validator}"/>*
    *</af:inputText>*
    *<af:inputFile label="Label 1" id="if1"*
    *value="#{bindings.Pdf.inputValue}" autoSubmit="true"/>* //where Pdf is a attribute of database table of type BFILE
    *<af:commandButton actionListener="#{bindings.CreateInsert.execute}"*
    *text="CreateInsert"*
    *disabled="#{!bindings.CreateInsert.enabled}"*
    *id="cb1"/>*
    *<af:commandButton actionListener="#{bindings.Commit.execute}"*
    *text="Commit"*
    *id="cb2"/>*
    *</af:panelFormLayout>*
    *</af:form>*
    *</af:document>*
    but after entering description and file path when i enter Commit it is showing an error i.e
    *Error: Cannot convert org.apache.myfaces.trinidadinternal.config.upload.UploadedFiles$FixFilename@155ef67 of type
    classorg.apache.myfaces.trinidadinternal.config.upload.UploadedFiles$FixFilename to class oracle.jbo.domain.BFileDomain*
    how can i solve this?...

  • Adding an image to FPM form using FPM/FLUID Editor

    One of the new features of FPM Editor (used by HCM Processes and Forms to create processes with WebDynpro forms) is a standard element called "FPM_FGL2_IMAGE". I added this element to the screen and asked to enter a source to the image. When I entered a URL to an image on my desktop and saved the form I couldn't open the form anymore (not in the editor and not on "run" mode). So, I couldn't enter the form and delete the URL that caused the problem and my form was lost.
    I have two questions regarding this issue:
    How can I delete the URL that causes this error in order to save my form and avoid building it from the beginning?
    What URL should I put in this field in order that this WD component will display the image on the FPM form?

    One of the new features of FPM Editor (used by HCM Processes and Forms to create processes with WebDynpro forms) is a standard element called "FPM_FGL2_IMAGE". I added this element to the screen and asked to enter a source to the image. When I entered a URL to an image on my desktop and saved the form I couldn't open the form anymore (not in the editor and not on "run" mode). So, I couldn't enter the form and delete the URL that caused the problem and my form was lost.
    I have two questions regarding this issue:
    How can I delete the URL that causes this error in order to save my form and avoid building it from the beginning?
    What URL should I put in this field in order that this WD component will display the image on the FPM form?

  • Italian computer, English Oracle forms, how to ?

    I'm an italian user and my computer settings are italians.
    Also forms appear in italian, however help is in english and it's quite hard to translate back and forth from italian to english and vice versa.
    Is it possible to start, in my italian computer, forms in english (it's easier for me to understand than the italian one) ? How ?
    Tks
    Tullio

    Hi,
    It's really simple to change your Forms language into english. Just edit your registry entry NLS_LANG of your developer suite into your preferred language. At the moment it may be ITALIAN_ITALY.[somewhat]. Change it into e.g. AMERICAN_AMERICA.WE8ISO8859P15, that may help.
    regards
    Heike Grüneklee

  • Editing in RAW, computer wont pick up my RAW images onced added on computer.. How do i add that

    I was recently on here and asking how to add a converter to allow my computer to read my RAW images, that worked last time and i was able to shoot in RAW and add to my computer to edit in RAW but now i had to wipe clean so i need to get that program added back to edit in RAw format.. CAn somebody help me please??>

    Dng converter 7.3:
    Win: http://www.adobe.com/support/downloads/detail.jsp?ftpID=5519
    Mac: http://www.adobe.com/support/downloads/detail.jsp?ftpID=5518

Maybe you are looking for

  • What converter do I need to download for converting CR2 files into DNG?

    Used EOS Rebel T1i in camera raw setting. The Canon Camera Raw images will not open up because camera is not supported in Photoshop CS5 Extended, version 12.0.4 X64. Also tried to open by changing the the setting to Photoshop Raw but got a "Specified

  • How do i save audio files in Icloud?

    hi

  • Using functions/sql in report columns

    Hi, New at CRM OD so struggling with reports... So the problem is : Have an Account Record and an associated "Parent Account" with it (Type: Account) Now the report must show the Account Name, Parent Account(if any), ID of the Parent Account. Not sur

  • Development environment and admin console

    Hi, I'm setting up a development environment for about 20 developers working on 5 or 6 projects. Is it possible to give each particular project leader access to the console without system privileges. It should be allow to start and stop one, and only

  • Verbose GC Log Format

    Hi, I am interested in using an open source tool called GCViewer (http://www.tagtraum.com/gcviewer.html) to visualize the data from the verbose GC logs. However, it does not currently support the latest jRockit VMs. In order for me to write a data re