Want to assign a value to a dff (from a sql )whenever the record is saved

Hi
I am new to OAF and would like to know how can i extend my VO and assign a value returned by a sql which returns a value on the basis of some fields from some fields in the same VO .
Thanks
Narinder

Narinder,
You can extend the SEEDED VO by creating a new VO and using the extends property in the VO wizard to refer to the seeded VO. Now in the new VO query you can make changes as appropriate to retrieve your values. The last step is to substitute this VO in the Applicatin so that the newly created Custom VO is used instead of standard to make sure your changes are visible.
Best would be to read the section on Substitution in the Dev guide.
Regards
Sumit

Similar Messages

  • Where does FireFox get the default value of a preference from. What is the format of the file that has the default value?

    Where does FireFox get the default value of a preference from. What is the format of the file that has the default value?. I need the actual default value for a particualr preference.
    About:config does show some default values but I need the source from which about:config picks up the default value.
    Any help in this direction is greatly appreciated.
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)

    The prefs that aren't hidden if they are the default are stored in two JavaScript text files in the Firefox program folder
    You can open them via these links in a Firefox tab:
    <code>resource:///defaults/pref/firefox.js
    resource:///greprefs/all.js
    </code>
    ([/forum/1/702598])

  • Having trouble figuring out how to save the original photo after I've cropped it - i.e. I want to create a headshot of my husband from a photo of the two of us, but I also want to keep the original. Seems very basic, but can't seem to figure it out. Any h

    Having trouble figuring out how to save the original photo after I've cropped it - i.e. I want to create a headshot of my husband from a photo of the two of us, but I also want to keep the original. Seems very basic, but can't seem to figure it out. Any help would be great!

    Use File >> Save As
    Choose a different file name so as not to overwrite the original and don't save any changes when closing the original.

  • All I want to do is sync one video file from my computer to the iPad

    Hi all-
    I ripped a "test" mpeg4 video on my home computer that I want to transfer to my iPad. That's all I want to do. I "assume" that this test video has to be placed in a folder somewhere on my main computer's hard drive so that iTunes "sees it" and puts it under one of those little tabs in iTunes like "movies" or "tv shows." Where do I put my test video so that it will sync with my iPad? I see the folders that have my music library for my iPod (Documents and Settings/Owner/My Documents/My Music/iTues) so I assume there must be some place I need to place this video in order to get it to transfer from my PC to the iPad.
    Thanks,
    Steve

    You need to import it into the iTunes library from within iTunes. Content moved to the iTunes library folder manually won't be recognized by iTunes.
    (51376)

  • How do I get values into a vi from a subvi while the subvi is still running within the vi?

    Hello
    This is my problem. I have a subvi that runs an experiment. At different point in the experiment different instruments are on or off and I have a boolean array display this info. It is updated at various points of the experiment via a local variable. That works fine. Here is the problem though. I run that subvi from a main vi program (that runs it several times for several experiment cycles). I would like to pass the status of that array onto the mainvi to display there too. The problem is that the array in the main vi is not updated until the subvi is done running and thus displays only the array status at end of experiment (instead of changing
    as the status changes within the subvi). I tried using a global variable to write to it in the subvi every time there is an update, and read from it in the mainvi, but that doesn't work, it still displays just the status at the end of the subvi execution. Does anyone know how to make this work, or if there is a workaround this? Thanks.

    If you have LabVIEW 6i, you can update indicators of a calling VI from
    a SubVI, while the subVI is running.
    In your case you need
    1) an indicator on the main VI panel to display the boolean array
    2) to pass a reference to that indicator to the subvi when you call it
    3) to use this reference in the subVI, connect a property node to it and
    write the values to be displayed to the 'value' property of this node
    If you don't have version 6, you can write the values to be displayed to
    a global and display this global in the main VI from within a while loop
    which must run in the main VI in parallel to the running subVI.
    It's more complicated, since you need a mechanism to gracefully shut
    down the while loop after subVI finishes. You could do this with
    another global control boolean which is not displayed but just connected
    to the repeat terminal of the while loop. Don't forget to put a 'Wait' of,
    say, 50...100 msec in that while loop.
    -Franz
    zkajan schrieb:
    > Hello
    > This is my problem. I have a subvi that runs an experiment. At
    > different point in the experiment different instruments are on or off
    > and I have a boolean array display this info. It is updated at
    > various points of the experiment via a local variable. That works
    > fine. Here is the problem though. I run that subvi from a main vi
    > program (that runs it several times for several experiment cycles). I
    > would like to pass the status of that array onto the mainvi to display
    > there too. The problem is that the array in the main vi is not
    > updated until the subvi is done running and thus displays only the
    > array status at end of experiment (instead of changing as the status
    > changes within the subvi). I tried using a global variable to write
    > to it in the subvi every time there is an update, and read from it in
    > the mainvi, but that doesn't work, it still displays just the status
    > at the end of the subvi execution. Does anyone know how to make this
    > work, or if there is a workaround this? Thanks.
    Franz Josef Ahlers
    Section Semiconductor Devices
    Physikalisch-Technische Bundesanstalt
    Bundesallee 100
    D-38116 Braunschweig
    phone: (+49) 531 592 2410
    fax: (+49) 531 592 2405

  • Assign numeric value to a variable from an item

    Someone please help me. I am attempting to assign a variable a numerical value from a text field. For example,
    my text field item is :P202_AMOUNT. How do I assign the number that is entered into this item to a PLS_INTEGER variable? I have attempted to uss this line of code but it hasn't worked:
    v_amount PLS_INTEGER := :P202_AMOUNT;
    Please help.
    -Stefano

    Stefano,
    The code you showed will work in the declaration section of a PL/SQL block that is part of your application's metadata (region, process, computation, etc.). Perhaps you are attempting to compile such a block externally using the bind variable. If that is the case, try v('P202_AMOUNT') instead. Or maybe your question is about format masks... How about giving us a bit more to go on?
    Scott

  • Assigning a value to a variable from a .txt file

    Hello, I'm having a slight problem doing this.
    I have a text file called text.txt, and within it is the text "one two" (minus the speechmarks).
    I'm simply trying to assign the second one of these words, (i.e. "two"), to a string variable of mine called second.
    import java.util.*;
    import java.io.*;
    public class Class
        public static void main() throws FileNotFoundException
            FileReader file = new FileReader("C:\\Documents and Settings\\Admin\\Desktop\\numbers.txt");
            Scanner scanner1 = new Scanner(file);
    String first = scanner1.next();
    //String second =   // this is the part I don't know.
    System.out.println(first); //this works fine, and shows "one"
    System.out.println(second) // this is what I'm trying to make work, by showing "two".
    }I hope I've explained myself clearly.
    Thanks a lot, I'm really struggling with this seeminly-simple problem.

    The Scanner API has good examples of how to use the class's methods. Try
    String second =scanner1.next();And change the name of your class from "Class" to something else. Java uses that name for one of its classes.

  • XSL-How to get value of a variable from inside loop-- to the outside loop?

    Pls help
    hi im currently working on this xsl file..
    This works on generating a txt file,my problem right now is
    ' how can i get the value of a variable generated from the inside forloop,
    i have to get the total,sum value of this variables after performing the loop
    ***this is the for loop
    <xsl:for-each select="OutboundPayment">
    <xsl:variable name='id' select='generate-id(OutboundPayment)'/>
    <xsl:sort select="PaymentNumber/CheckNumber" data-type="text" />
    <xsl:variable name='PValue' select='format-number(100*PaymentAmount/Value,"0000000000000")'/>
    <xsl:value-of select='$id'/>
    <xsl:text>D</xsl:text>
    <xsl:value-of select='$DDate'/>
    <xsl:value-of select='$Batch'/>
    <xsl:text>3</xsl:text>
    <xsl:value-of select='format-number(PaymentNumber/PaymentReferenceNumber,"0000000000")'/>
    <xsl:value-of select='format-number(PayeeBankAccount/BankAccountNumber,"0000000000")'/>
    <xsl:value-of select='substring(Payee/Name,1,20)'/>
    <xsl:value-of select='$PValue'/>
    <xsl:variable name='Addend' select='concat($DDate,substring($DAcct,5,5),$Batch)'/>
    <xsl:variable name="LHash">
    <xsl:call-template name="GetHash">
    <xsl:with-param name="A1" select="$PValue" />
    <xsl:with-param name="A2" select="$Addend" />
    </xsl:call-template>
    </xsl:variable>
    <xsl:value-of select="concat('[',$LHash,']')" />
    <!--LHash*i have to get the total amount of this one from the outside loop /---->
    <xsl:call-template name='NewLine'/>
    </xsl:for-each>
    <!--I have to put in here the total value of that LHash/---->
    <!--This is the template on how to get the value of that variable in the inside loop/---->
    <xsl:template name="GetHash">
    <xsl:param name='A1'/>
    <xsl:param name='A2'/>
    <xsl:variable name='TwoSum' select='format-number($A1+$A2,"000000000000000")'/>
    <xsl:variable name='Weight' select='317191314191112'/>
    <xsl:call-template name="WDigit">
    <xsl:with-param name="Cnt" select="15"/>
    <xsl:with-param name="Sum" select="$TwoSum"/>
    <xsl:with-param name="Wgt" select="$Weight"/>
    <xsl:with-param name="Tot" select="0"/>
    </xsl:call-template>
    </xsl:template>
    <xsl:template name='WDigit'>
    <xsl:param name='Cnt'/>
    <xsl:param name='Sum'/>
    <xsl:param name='Wgt'/>
    <xsl:param name='Tot'/>
    <xsl:choose>
    <xsl:when test="$Cnt > 0">
    <xsl:variable name='Multip' select='substring($Wgt,$Cnt,1)'/>
    <xsl:variable name='Factor' select='substring($Sum,$Cnt,1)'/>
    <xsl:variable name='Prduct' select='$Multip$Factor'/>
    <!--xsl:value-of select="concat($Tot,'[',$Cnt,']')"/-->
    <!--xsl:value-of select="concat($Multip,'x',$Factor,'=',$Prduct)"/-->
    <!--xsl:call-template name='NewLine'/-->
    <xsl:call-template name="WDigit">
    <xsl:with-param name="Cnt" select="$Cnt - 1"/>
    <xsl:with-param name="Sum" select="$Sum"/>
    <xsl:with-param name="Wgt" select="$Wgt"/>
    <xsl:with-param name="Tot" select="$Tot+$Prduct"/>
    </xsl:call-template>
    </xsl:when>
    <xsl:otherwise>
    <xsl:variable name="Rem" select="$Tot mod 11"/>
    <xsl:variable name="Chk" select="11 - $Rem"/>
    <xsl:value-of select="format-number(concat($Tot,$Chk),'00000')"/>
    </xsl:otherwise>
    </xsl:choose>
    <xsl:template name='GetTotal'>
    </xsl:template>
    Thanks in advance for those who are willing to help.
    -Leighya

    It would have helped if you had posted your code as CODE but as it is, I could hardly read it. My guess about what you are asking is, if you want a template to return a value, just write that value to the result stream inside the template.
    If that wasn't what you were asking, then please post your code in a readable format.

  • Values not getting displayed from first page of the report.

    Values in the report is getting displayed from second page.
    First page in the report only displaying the report title and column names.
    Secone page onwards, data and column names are generated.
    Can any one please help me, with the cause of the problem.

    what reporting tool?
    Interactive Reporting
    Financial Reporting

  • I want to use multiple iPads as external monitors from a PC using the iPad VGA adapter (wired)

    I want to send a VGA signal to a couple of iPads using them as monitors. I currently use a pair of regular 13" VGA 1024x768 lcd monitors looping thru an LCD projector displaying the same signal sent to the projector.
    I want to use the iPad VGA adapter and WIRE them in just like a convention LCD monitor. Yes there are apps like air display and others but they don't allow cloning and have latency issues and must be networked. I need an app to use the VGA adapter and actually wire them in using a VGA signal from my existing VGA distrubution amp.
    The size of the iPad is perfect for my application however I cannot find an app to let me send a signal into the iPad via VGA adapter.
    Any ideas?
    thanks,
    the Sherm

    http://www.shapeservices.com/en/products/details.php?product=idisplay&platform=i phone
    Cool ... takes on all of the complex-ip-aliasing to turn the Mac into the center wi-fi a screen share netork 

  • Why do my homepage settings change to a site I do not want every time I shutdown Firefox - EVEN THOUGH I have gone through the process of saving the site I really want?

    I am desparate to set my homepage to http://www.google.co.uk/ig?hl=en
    However, even after manually setting it to the site I want, every time I restart Firefox it has reverted to http://www.searchqu.com/406
    I have tried every solution that I have found in Firefox help, but to no avail.
    I have only recently changed to Firefox and am impressed with the way it works with this one exception, which is driving me mad.
    PLEASE, PLEASE can anyone out there help?

    Thanks for the reply. I never get the option to "Restore Previous History" from History. I don't even have the box checked that asks to delete the history when Firefox closes. I don't know what's wrong, no matter what, I always lose everything. I have the box marked "Show my windows and tabs from last time" for when I open Firefox, but it never shows that, just my homepage. Also, when I check my History, it only shows the pages that I opened since I started Firefox, nothing from before. Even if I were to open up 10 pages now, close Firefox, and open it, the history would only show the homepage that opened this time, not any of the 10 pages that I opened 5 minutes ago.

  • Assigning a value to a Read-only Segment of DFF

    Hi Friends,
    I have a read-only segment of DFF. I want to assign a value based on the value entered in other segments to this read-only segment. There are a couple of issues I am facing. I am not able to get a handle to this read-only segment and also how can we assign the value to this segment..
    Any ideas please
    Thanks in advance

    Hi Friends,
    I have a read-only segment of DFF. I want to assign a value based on the value entered in other segments to this read-only segment. There are a couple of issues I am facing. I am not able to get a handle to this read-only segment and also how can we assign the value to this segment..
    Any ideas please
    Thanks in advance

  • Assigning multiple values from a List of Values at detail (table) level

    Hi,
    I have a master detail entry screen. I want to assign multiple values when end user selects an item from the list. The field is at detail level (Table type). I can do it using the "Select one choice" type component (ADF Faces Core) but it doesnt retain the value when I go to the next record. This type of component works fine with the screen with only one record to show (form type). This component has binding with list type.
    If I use simple list with Table binding, I can not assign values to multiple items. This type of list retains value when record is changed.
    Can anyone help me resolving this issue?
    Thanks,
    CAH

    Post on Jdev forum JDeveloper and OC4J 11g Technology Preview
    --Shiv                                                                                                                                                                               

  • Assign a value to class variable

    I want to define a class variable in class. And I want all subclasses of that class ot have a different value for that class variable. How can I do that?
    public class BaseClass {
      public static String tableName = "";
    }Now if I have a ClassA and I want to assign a value like this :
    public class ClassA extends BaseClass {
      tableName = "location";
    } I got an error message.
    I can move it in a static initializer block but then it will only work when the class is loaded. In my case its possible i want to get this value without loading the class.
    Ditto if i move it to constructor.
    Any input? Thanks

    Are you saying that if i have 2 classes ClassA and
    ClassB inherited from BaseClass, then both are
    sharing the same copy of 'tableName' staticvariable?
    If yes then I should go with an instance variable.No, I am saying that you can easily declare a
    tablName in A and another tableName in B.
    A.tableName will be shared between all the instances
    s of A. B.tableName will be shared between all the
    instances of B. And BaseClass.tableName is
    irelevant. I think you try to use
    BaseClass.tableName as some kind of template for
    sub-classes, but this does not happen: you need to
    declare tableName again and again in each subclass.
    IThanks for clarifying. Each class needs to have a variable "tableName" and it needs to have one copy of this variable for all of that class's objects. 2 classes will not have the same value of this tableName variable.
    Thats why I was defining it as static variable. And I define it in BaseClass so that I dont have to define it again in each subclass.
    Is there any better way? Thanks

  • Assigning a value to a Constant

    I have OWB 10..0.1.31 on XP as Client installed.
    I want to assign a value to a constant; I did the following:
    Picking the Constant from the toolbox->assigned a name to the constant ->added an attribute to the outputgroup, the name is TODAY DATE; I then did an right click on the attribute, I expected, that a window will pop-up, which shows me, among others, the Expression-button; instead of that, the Constant-Editor pops-up again, so I am not able to assign the Constant a value.
    Does anybody does have an idea, where my mistake is ?
    Regards,
    Rüdiger

    Hi Rüdiger
    When you click on the attribute in the constant operator in the mapping canvas, the Attribute Properties should be refreshed in the mapping editor (it is a dockable panel in the mapping editor). In this panel there are a bunch of properties for the attribute (representing your constant) and one of them is the Expression. Click on the right hand column of the property inspector table next to Expression and the expression editor will appear....
    Cheers
    David

Maybe you are looking for

  • Odd Screen Saver Behavior

    Usually, my iMac goes to sleep without a problem. Recently, I've noticed that my screen saver kicks in randomly from time-to-time. Having never even realized it had a screen saver, I was more than a bit surprised. I've now looked at its settings in S

  • Creation of Users for Discoverer

    I am using Oracle as Database for my Application. I can have multiple Application users(but the same Oracle user/Schema). For Reports, I would be using Oracle Discoverer where I would like to give access privilege om some Reports to only specific App

  • Thunderbolt port No device connected

    Just purchased a new tb harddrive and when I connect it to my Macbook Pro 17 (early 2011) it doesn't recognize it? I am running Mavericks. It doesn't show up in disc utillity and if you look in system profiler under thunderbolt it says No device conn

  • RAW Compatibility with Canon 450D

    I have a Canon 450D. I believe the RAW format is not sRAW but the usual RAW (pls correct me if I am wrong). There has been a recent update (May) that is supposed to extend aperture's RAW compatibility to the 450D. However, for me, the files still sho

  • How can I get classic to run on a G5?

    It's a Dual 2 GHz PPC from 2007 running 10.5.8.  I have old disks for 10.2 but they don't include Classic OS.  I have OS 9 disks but they're for a G4.  What are my options, including buying Classic OS somewhere or re-formatting the hard drive?