How can we have transient variable value as a parameter for an attribute?

Hi,
I am using JDev 11.1.1.2 with ADF11g.
I have a requirement where I have to display a table with many columns. One of the columns is a drop down whose values are fetched from DB. This is a non-DB item and so becomes a transient variable of the VO.
There is another column/attribute of the VO that has to first pick the value of the transient variable and display values in the LOV.
How can this be achieved? Do we have an example link for this?

Hi simanta,
According to your description that you are experiencing the issue with passing one textbox's values as parameter to another textbox, you got some errors, right?
I have tested on my local environment and can reproduce your issue, your issue can be caused by the invalid expression you have added in the parameter for textbox1, you have mentioned that the textbox1 have just one value, for example, if you specify
the default value and available value using this expression "=first(Fields!Yourfields.Value, "DataSet2")" you will get this kind of error.
So, I suggest you not using the expression in the parameter, you can add condition in the query to get the proper value for textbox1, you said you also try to create an dataset for textbox1 but not getting the proper values of textbox1, please reference
to details information below to check if you have done the right actions:
Create an Dataset(Dateset2) to get the value for textbox1:
I suppose you want to get the first values from the table, you can use query below instead of the using expression:
Select Top 1 amount from tablename2
Add the parameter(Param1) for textbox1, specify both the available values and default values by select the "Get values from a query" (DataSet2)
In the main dataset(Dataset1), add the filter like below to display the textbox2's values which are  greater than Textbox1:
You can also filter the data by modify the query of Dataset1:
SELECT  * FROM   TableName1
where  SalesAmount >(@Param1)
If you problem still exists, please try to provide information below to help us more effective to provide an solution:
How did you get the value for textbox1(Please provide all the expressions or the dataset query you are currently using)
How did you add the filter to filter the Textbox2 which greater than textbox1?
Any problem, please free to ask.
Regards
Vicky Liu

Similar Messages

  • Using action script 2 how can i send a variable value to a dynamic textbox on a different keyframe?

    using action script 2 how can i send a variable value to a dynamic textbox on a different keyframe?

    Thanks for your swift response.
    That sounds like a good solution, but the code I have on frame 2 is this
    timer = 0;
    countup = function(){
    timer++;
    countupInterval = setInterval(countup,100);
    If I added the same actionscript to frame 3 which has a dynamic textbox with a variable timer attached wouldn't it just put the timer back to 0? What I want is the last known value that was given when it was in frame 2.
    I am thinking of temple run here, I am trying to caculate the total distance(set in the timer variable) from the previous try.
    Hope this makes sense.
    Chazwick

  • How can i get this variable value into second page IN BSP

    Hi friends
    I have variable wk_matnr value 'ABC' in first page of BSP.
    How can i get this variable value into second page.
    Moosa

    Hi,
    you can define variable (page attribiue) on the second page with the same name. You can realise the Navigation with Button ther started onInputProcesing routine. In onInputProcesing you have to call navigation->set_parameter with attribut name as parameter and then starting the navigation. If you have checked the auto property on the variable on second page and varable have same name, the value of variable should be transported.
    [See this tutorial|http://help.sap.com/saphelp_erp2005/helpdata/DE/1a/c5133a62983c0ae10000000a114084/frameset.htm]
    Best regards
    Bogdan

  • How can we have an anonymous 'User i.d." for discussion group posts only?

    hi. Here we are asking a stupid Q on very first post. How can we have an anonymous 'User i.d." for discussion group only? Seem to be stuck with our regular old original Apple i.d. I see how that can be changed, but don't really want to cuz just want to have my posts signed with a more anonymous i.d. name. Should be simple to do, but not obvious to us now.
    Thnx

    Welcome To  Discussions thelnukus!
    The Alias of the account you are using, cannot be changed, but you can create a new Discussions Account, with an Alias that you prefer.
    You cannot delete your present account. Just stop using it, after you have created a new one.
    You can use all of the same info in the new account, Email address, User name, etc, just be sure to insert a new Alias of your choosing.
    But your Level(0), Points(0), Total Posts(2), Total Posts Online(2) and Registered Date(12/19/06), will not be transferred.
    In the new account, your Post Counts, Points, & Level Status will all start at 0. Your Registered Date will be the date you create the new account.
    Your old account, with your previous counts & level, will still be viewable, under the old Alias.
    (You really don't have anything accumulated, to be concerned about though.)
    After you quit using the old account, those 2 posts, will be archived. What that means is, that if there are no additional responses in the Threads they reside in, the Topics will get continually pushed down on the Topics list. After a certain amount of time, maybe 2 to 6 months, the Threads will be locked, so no responses can be entered. But the Threads will not disappear.
    Threads in heavily trafficked Forums, may be archived more rapidly than those in areas, with less activity.
    The Topics that you started using the old account, will show your Old Alias, in the Author field of a main forum page, but eventually, readers will have to keep going to the succeeding pages to view them.
    If someone were to do a Discussions Search, using these parameters:
    Restrict by Category or Forum: All Categories
    Restrict by Date Range: All
    Restrict by Username: Your Old Alias
    all of your posts, created since about 11/13/05, would be found.
    To create a new account,
    Log out of Discussions. You also may have to delete the Apple Cookies in your browser preferences, but I'm not sure this is necessary. Then follow either of these instructions.
    -How Do I Create My Account?
    If you haven't signed up for an Apple ID for the Apple Store or AppleCare Support website (or forgot your old one), you can create a new account on the My Info webpage. Just click the "create one" link on the right side of the My Info page. Choose your country location and preferred language from the appropriate pop-up menus, then click Create Account. In the resulting page, enter a unique name (such as your email address) in the Apple ID field and fill in your other relevant information accordingly (fields marked with * are required). Click Continue to complete the process.
    -To register, click Login in the sidebar on the right side of the Discussions page. In the resulting page, click the "create one" link at the bottom of the page, then click "create one" in the subsequent page and follow the instructions to create an Apple ID. For more information, see the Apple ID FAQ page.
    Those instructions, and more info, can also be viewed by clicking on ?Help & Terms of Use, in the right column of Discussions pages.
    ali b

  • How can I have 2 variables for one output?

    I need it so that the spacebar does one thing on one frame and another thing on the other.
    I have solved this but now I need to know how can I have it so 2 variables = 1 output.
    This is my code at the moment:
    while (menu)
    if (changecharacter)
    gotoAndStop(2);
    menu = false

    My whole code is:
    var menu:Boolean = true
    stop();
    var leftPressed:Boolean = false;
    var rightPressed:Boolean = false;
    var changecharacter:Boolean = false;
    Block.addEventListener(Event.ENTER_FRAME, fl_MoveInDirectionOfKey);
    stage.addEventListener(KeyboardEvent.KEY_DOWN, fl_SetKeyPressed);
    stage.addEventListener(KeyboardEvent.KEY_UP, fl_UnsetKeyPressed);
    Block.gotoAndStop(1)
    function fl_MoveInDirectionOfKey(event:Event)
              if (leftPressed)
                        Block.x -= 3;
              if (rightPressed)
                        Block.x += 3;
              if (changecharacter)
                        Block.gotoAndStop(2);
              while (menu)
              if (changecharacter)
                        gotoAndStop(2);
                        menu = false
    function fl_SetKeyPressed(event:KeyboardEvent):void
              switch (event.keyCode)
                        case Keyboard.LEFT:
                                  leftPressed = true;
                                  break;
                        case Keyboard.RIGHT:
                                  rightPressed = true;
                                  break;
                        case Keyboard.SPACE:
                                  changecharacter = true;
                                  break;
    function fl_UnsetKeyPressed(event:KeyboardEvent):void
              switch (event.keyCode)
                        case Keyboard.LEFT:
                                  leftPressed = false;
                                  break;
                        case Keyboard.RIGHT:
                                  rightPressed = false;
                                  break;
                        case Keyboard.SPACE:
                                  changecharacter = false;
                                  break;

  • How can i insert the variable value in MS ACCES Query

    i am creating one Query (query1) in MS ACCESS ( like we creaate Tables, Forms and Reports in MS ACCESS ) in this Query i have given 2 constent value in BETWEEN CLAUSE , after that i Created a CROSS QUERY which is based on the privious Query (query1).
    Now i want to insert the variable value using JSP and HTML in to Query(query1).
    Doing this i want to execute the Query (query1) with variable perameters and
    wants to get the risponce form CROSS QUERY.
    In this matter how can i insert the value in Query(query1) using JDBC and JSP.

    The query is
    Select ZMSGMAP.GROUP_CODE as 'group', ZMSDSTATE.STATE_DESC as 'state', ZMSTRN.YRMON, sum(ZMSTRN.CMAQTY) as 'qty' from ZMSDSTATE,ZMSGMAP,ZMSTRN Where ZMSTRN.STATE=ZMSDSTATE.STATE and ZMSTRN.PLANT=ZMSGMAP.PLANT_CODE and ZMSTRN.YRMON between "+p1+" and "+p2+" Group by ZMDGMAP.GROUP_CODE, ZMSDSTATE.STSTE_DESC, ZMSTRN.YRMONUsing this query i m trying to display the risult but the YRMON is displaying in a single column, i want to display it ia seperat columns. here p1 and p2 is YRMON(it is the yer month like 200102), for this solution i have created Cross table Query which is based on uper Query (query1) and design it column wise Display, it is givng the right display, but the problem is this i m not getting the technique throw which i can insert the variable values in to the query1 (which is designed in MS ACCESS).
    u can contact me on [email protected] for more details.

  • How can I pass a variable  value from first jsp page to thired jsp page

    In my program ,threr are three jsp pages . I want the first pages's variable value in to thired page .How can I acess.
    I used the request.getparameter() ,but when I print the value , null value is getting .

    request parameters only last for one request.
    To save them longer than that you need to save them somewhere.
    Couple of alternatives
    1 - store them to session
    session.setAttribute("username", request.getParameter("username");
    2 - create a hidden field on page 2 and store the value from page 1 there. When you submit page2, you can get it on page3 with request.getParameter again.
    <input type="hidden" name="username" value="<%= request.getParameter("username") %>">

  • How can I hide constant variable value in class file?

    hi,everybody.
    I am having a problem with constant variable which define connectted with database(URL,username,password).
    when I used UltraEdit to open class file, I can see constant variable value.
    Thanks!

    OK, let's see. Firstly, if I may correct your terminology, the phrase "constant variable" is a paradox (I think that is the right word). You have either one of the other. You declaration is either 'constant' or 'variable' (ie: it can change at run-time or it doesn't). People often use the term 'variable' and 'declaration' interchangably which is where the confusion lies.
    Anyway, onto the real problem. It seems that you want to protect your connection details (in particular the password, I would guess). Unfortunately, Java compiles not to machine-code, but byte-code which is semi-human-readable. So people, if they are inquisitive enough, will always be able to see it if they try hard enough.
    You can do one of two things:
    (1) Get an 'obfusticator'. An obfusticator is something that you run over Java source files and it completely messes it up (without modifying functionality). You then compile and the original source is such gibberish that the byte-code is very difficult to understand. However, the password will still be in there somewhere.
    (2) Don't put sensitive information into your source. Have this kind of info in external files (encrypted) and allow your class to read this file, decrypt, and use it.
    Hope that helps.
    Ben

  • How to set default bind variable value to task parameter value

    Hi,
    I 'm implementing a BPEL process with a human task, and I autogenerate the task form. I have a custom sql table that stores opinions, different processes should show different opinios, so my ADF table can only show records related to that process. A custom process number is sent to the task form as a task parameter. How do I use that value as the bind variable default and only value?
    Thanks,
    I.D.

    Hi Shay and thanks for your reply,
    What I want is what you have but without the login page. I tried to start my flow with an action and for some reason it didn't work.
    Is there anything else you can tell me?
    Thanks,
    I.D.
    P.S. I was able to get it to work using the aproach Frank Nimphius described in another post.
    Re: How do I prepopulate a bind variable from a session variable?
    Anyway just out of curiosity could you please tell me if I could have done it your way?
    Thanks a lot,
    I.D.
    Edited by: user8696770 on 5/Ago/2009 7:12

  • I use Aperture 3 how can I have the tool bar colored?

    I use Aperture 3, how can I have the tool bar colored?

    Thanks for your help, for the time beeng i will follow your suggestion: "learn to love the new look."
    In any case I strongly recomend Apple to correct the Aperture 3 software.
    Have a nice day
    Sergio

  • How can I get the variable with the value from Thread Run method?

    We want to access a variable from the run method of a Thread externally in a class or in a method. Even though I make the variable as public /public static, I could get the value till the end of the run method only. After that scope of the variable gets lost resulting to null value in the called method/class..
    How can I get the variable with the value?
    This is sample code:
    public class SampleSynchronisation
         public static void main(String df[])
    sampleThread sathr= new sampleThread();
    sathr.start();
    System.out.println("This is the value from the run method "+sathr.x);
    // I should get Inside the run method::: But I get only Inside
    class sampleThread extends Thread
         public String x="Inside";
         public void run()
              x+="the run method";
    NB: if i write the variable in to a file I am able to read it from external method. This I dont want to do

    We want to access a variable from the run method of a
    Thread externally in a class or in a method. I presume you mean a member variable of the thread class and not a local variable inside the run() method.
    Even
    though I make the variable as public /public static, I
    could get the value till the end of the run method
    only. After that scope of the variable gets lost
    resulting to null value in the called method/class..
    I find it easier to implement the Runnable interface rather than extending a thread. This allows your class to extend another class (ie if you extend thread you can't extend something else, but if you implement Runnable you have the ability to inherit from something). Here's how I would write it:
    public class SampleSynchronisation
      public static void main(String[] args)
        SampleSynchronisation app = new SampleSynchronisation();
      public SampleSynchronisation()
        MyRunnable runner = new MyRunnable();
        new Thread(runner).start();
        // yield this thread so other thread gets a chance to start
        Thread.yield();
        System.out.println("runner's X = " + runner.getX());
      class MyRunnable implements Runnable
        String X = null;
        // this method called from the controlling thread
        public synchronized String getX()
          return X;
        public void run()
          System.out.println("Inside MyRunnable");
          X = "MyRunnable's data";
      } // end class MyRunnable
    } // end class SampleSynchronisation>
    public class SampleSynchronisation
    public static void main(String df[])
    sampleThread sathr= new sampleThread();
    sathr.start();
    System.out.println("This is the value from the run
    method "+sathr.x);
    // I should get Inside the run method::: But I get
    only Inside
    class sampleThread extends Thread
    public String x="Inside";
    public void run()
    x+="the run method";
    NB: if i write the variable in to a file I am able to
    read it from external method. This I dont want to do

  • How can I set a variable number of values in a SQL IN clause?

    Hi,
    How can I set a variable number of values in a SQL IN clause without having to change the text of the SQL statement each time?
    I read the link http://radio.weblogs.com/0118231/2003/06/18.html. as steve wrote.
    SELECT *
    FROM EMP
    WHERE ENAME IN (?)
    But we need the steps not to create type in the system and would there be any other solution if we would like to use variable number of values in a SQL IN clause ?
    We are using JDeveloper 10.1.3.2 with Oracle Database 10.1.3.2
    Thanks
    Raj

    Hi,
    can you please explain why the solution from steve is not the right solution for you.
    regards
    Peter

  • How can I get the variable with the value from Thread's run method

    We want to access a variable from the run method of a Thread externally in a class or in a method. Even though I make the variable as public /public static, I could get the value till the end of the run method only. After that scope of the variable gets lost resulting to null value in the called method/class..
    How can I get the variable with the value?
    This is sample code:
    public class SampleSynchronisation
         public static void main(String df[])
    sampleThread sathr= new sampleThread();
    sathr.start();
    System.out.println("This is the value from the run method "+sathr.x);
    /* I should get:
    Inside the run method
    But I get only:
    Inside*/
    class sampleThread extends Thread
         public String x="Inside";
         public void run()
              x+="the run method";
    NB: if i write the variable in to a file I am able to read it from external method. This I dont want to do

    Your main thread continues to run after the sathr thread is completed, consequently the output is done before the sathr thread has modified the string. You need to make the main thread pause, this will allow sathr time to run to the point where it will modify the string and then you can print it out. Another way would be to lock the object using a synchronized block to stop the main thread accessing the string until the sathr has finished with it.

  • How can i do a variable User exit that present the values before execute

    Hi Gurus,
    How can i do a variable User exit that present the values before execute, i need this:
    a variable that calculate SYS-DATUM until 30 days before (I got the code) but this  variable run automatic because is user exit, i want this variable but first present the values, not execute automatic, this is because the users want the report that automatic present the values , help

    Hi,
    Refer the below links,
    http://documentation.softwareag.com/natural/nat424mf/pdf/ops_mf/conf_usrex.pdf
    http://www.erpgenie.com/component/content/article/1097
    http://www.apentia-online.at/UP/Apentia/files/Article/SAP_BW_User_Exits_and_BAdIs.pdf
    Hope it helps you,
    Regards,
    Ravindra.

  • How can I have a use a variable view for a Popover in Xcode Applescript-ObjC?

    I'm adding Popovers to my application, but I have it coming from buttons in different views. One button might be in a Tab-View, and one in the main window. If I specify the wrong view, the Popover is off to the left and down, like the image below:
    Here's my code:
    on OpenPopover_(sender)
            Popover's showRelativeToRect_ofView_preferredEdge_(sender's frame(), MainWindow's contentView(), current application's NSMaxYEdge)
            end OpenPopover_
    How can I use a variable view or not specify the view at all so that the buttons can be in different views without having to use multiple pieces of code, using Applescript-ObjC, Xcode?

    You are using the content view of the entire window instead of whatever view the button is in - the frame rectangles are relative to the view it is in.
    The method parameters are a rectangle that is relative to the view (to position the popover), the view containing the rectangle, and the edge of the rectangle to use.  To position relative to a button, you can get the button's superview (the containing view), for example:
    popover's showRelativeToRect_ofView_preferredEdge_(sender's frame(), sender's superview(), current application's NSMaxYEdge)

Maybe you are looking for

  • Advice on Fixing/Setting Up Mac Server behind Router

    I would like advice on how to setup/fix a Mac Snow Leopard (10.6.8) server running on an Xserve. The server is only used to to host network accounts / act as a remote drive for a Mac-based laboratory. It is not a mail server, web server, etc. The goa

  • Java SE JDK Documentation

    The link to the Java SE JDK document (javadocs) does not seem to be working at present: see page Java SE 6 Documentation - http://www.oracle.com/technetwork/java/javase/downloads/index.html#docs

  • Goods receipts

    hello all In MIGO transaction, I can make goods receipt agianst PO ,reservation....etc. I want to change the text of that reference document , i mean according to user requirement and system is not allow to chenge the des. in spro - setting for enjoy

  • Dashboard prompt resizing

    Hello All, I have a dashboard with multiple pages, multiple prompts. The prompt is always resizing when ever dahsboard page is run. I want to fix the prompt size, instead of resizing.Please let me know how to achieve this.Thanks!! Thanks SR

  • Discoverer Hangs on large export to Excel

    Was wondering if anyone had seen this "hang" and had some possible workarounds? The Discoverer process on the Application Server starts to swallow all of the CPU time and the DBAs much abort the process. I can export the same report results to a comm