Copy a value into the memory

I have a JTree,
Right-click displays a JPopupMenu.
There is a menu-item "copy", means copy the selected node.
Everything is working fine.
Displays a menu,
selects a menu-item.
catches the selecting node.
BUT how do I copy this value (=selected node)
to paste it to somewhere else, e.g. in a Texteditor ?
thanks
Aykut

Hi Robert, Thanks for the reply..
What i meant to say was : We have a big Products heirarchy and for few of the upper level products we need to copy the value of the parent to their lev0 members.
But we cannot hardcode these few products in our script as it will increase the maintainance. So sort this out we are left with two options 1) tag these members with UDA and use the script
FIX (other dimensions , @LDESCENDANTS(@UDA("Sender_Parent",Products))
"QRM_Version1"=@Parent(@Currmbr("Product"),"QRM_Version1");
ENDFIX
But the client is not agreed to put UDA's in front of the members for maintainance issues in DRM.
2) we kept all the sending Parent members under one node : Sending_parents and put all the sending parents under it as shared members, so as to get the list of parents in one go and then i tried applying
FIX ( @LDESCENDANTS(@Relative("Sending_Parents",0))
"QRM_Version1"=@Parent(@Currmbr("Product"),"QRM_Version1");
ENDFIX
But this is not correct since i want the descendants of each members under Sending_Parents .. any ideas on this .. how to get the descendants for the base members of these shared members.. or any other idea to sort this out.. I hope ..i am clear now.. :)
Thanks
Sandeep

Similar Messages

  • Is it not possible to paste values into the timecode window in FCPX?

    I am doing a lot of manual time timecode entering - from someone wo has handed me a paper edit (in the form of an XL spreadsheet)
    Has anyone had any success pasting a value into the timecode window?  I can't seem to paste even itf I click it first and it turns blue.  I can type it in, but I need to copy and paste values. There's a lot of them.
    Thanks

    thank you Arthur, seems I was sleepy

  • There is problem loading the outline into the memory, error # 1,250,005

    Hello,
    I am getting error message when opening ASO outline on edit mode in EAS 7.1.5 version. EAS server using weblogic and MYSql.
    Error Message:
    There is problem loading the outline into the memory, error # 1,250,005.
    Please let me know if any have experienced same issue or any suggestions.
    Regards,
    DS

    That error is documented as:
    ##1250005 Error [%s] Creating Environment For Outline Paging File: %s
    It sounds like it may be an issue with your temp directories (disk space?) as I believe it is going to copy the outline to a temp directory locally before opening it. That is where I would start looking..
    Tim Tow
    Applied OLAP, Inc

  • HT201317 When I view photos on my devices some are not oriented correctly. I used Picassa to turn all photos upright and then copied those photos into the upload file but they are still not corrected when viewed on my devices (ipads)

    When I view photos on my devices some are not oriented correctly. I used Picassa to turn all photos upright and then copied those photos into the upload file but they are still not corrected when viewed on my devices (ipads)

    Generally I would not use Facebook for sharing any photos, it compresses the photos substantially, and when you have shadows and dark colours you get visible "bands" where there should be subtle gradients, ie at sunsets and sunrises.
    It sounds like you are using two methods to upload to Facebook:
    1. Sharing from within Aperture, which basically syncs Facebook with your Aperture album, so any changes made at either end gets synced, hence the deletions from Albums, although the original file should still be in your library, just removed rom the album. It is like a playlist in iTunes.
    2. Exporting pics and uploading to Facebook from the browser.
    I am not sure how method 1 gets compressed, but I know that uploading hi-res jpegs to Facebook using method 2 results in poor quality images.
    I wouldn't even bother comparing option 1 or 2, and they will both be poor images once you view them on Facebook, as opposed to viewing uploaded images on proper image sharing / hosting sites.
    Your problem is not with Aperture, it is using Facebook for showing your work.
    If you export pics form Aperture at high res jpegs or TIFFs your images will be fine.
    If you insist to use Facebook as your way to share your work, then your workflow should be this:
    1. Right click images you want to share.
    2. Select Export version.
    3. Export as 100% size and ensure the export settings are set at 100% quality.
    4. Upload this pic into Facebook.
    This will get you the best image size and resolution on Facebook.
    See how you go.

  • How to put the SQL-statement returned value into the field (as a default)

    Hi,
    I am using Developer/2000 (Forms Designer) under windows 98.
    Please tell me how to put the SQL-statement value (as a default value) into the field before enter-query mode. Noted that I have tried the following ways but still some problems:-
    1) Place the SQL-statement into PRE_QUERY trigger in the form/block level.
    There is a message box which ask 'Do you want to save the changes?'.
    2) Place the SQL-statement before execute enter_query. There is still a
    message box which ask 'Do you want to save the changes?'.
    Any hints? Thanks. Urgent.

    solved it!
    1) Suppress DEFAULT save message
    if form_failure then
    raise form_trigger_failure;
    end if;
    2) Place the default value before enter-query.
    Ref: Title='Default value in query field in ENTER_QUERY mode' in designer forum by CVZ
    form level trigger
    ============
    WHEN-NEW-ITEM-INSTANCE
    =======================
    if :system.mode = 'ENTER-QUERY' then
    :block.item := 'default waarde';
    end if;
    3) Suppress the changes whenever leaving the default field.
    if :block.item is null then
    -- assign statement
    end if;

  • How can we include the property value into the News RSS?

    We have defined object property u201CDepartmentu201D that is used in News XML creating form. How can we include the property value into the News RSS (set value of the particular RSS XML tag)?

    We have solved the issue with NWDS

  • SQL Server 2012 Management Studio: Creating a Database and a dbo Table. Inserting VALUES into the table. How to insert 8 Values for future use in XQuery?

    Hi all,
    In my SQL Server 2012 Management Studio (SSMS2012), I tried to create a Database (MacLochainnsDB) and a dbo Table (marvel). then I wanted insert 8 VALUES into the Table by using the following code:
    USE master
    IF EXISTS
    (SELECT 1
    FROM sys.databases
    WHERE name = 'MacLochlainnsDB')
    DROP DATABASE MacLochlainnsDB
    GO
    CREATE DATABASE MacLochlainnsDB
    GO
    CREATE TABLE [dbo].[marvel] (
    [avenger_name] [char] (30) NULL)
    INSERT INTO marvel
    (avenger_name)
    VALUES
    ('Hulk', 1),
    ('Iron Man', 2),
    ('Black Widow', 3),
    ('Thor', 4),
    ('Captain America', 5),
    ('Hawkeye', 6),
    ('Winter Soldier', 7),
    ('Iron Patriot', 8)
    I got the following error Message:
    Msg 110, Level 15, State 1, Line 5
    There are fewer columns in the INSERT statement than values specified in the VALUES clause. The number of values in the VALUES clause must match the number of columns specified in the INSERT statement.
    How can I correct this problem?
    Please kindly help and advise.
    Thanks in advance,
    Scott Chang
    P. S.
    The reason I tried to create the Database, dbo Table, and then to insert the VALUES is to learn the following thing:
    You can query the entire node tree with the following xquery statement because it looks for the occurrence of any node with the /* search string:
    DECLARE @x xml;
    SET @x = N'<marvel>
    <avenger_name>Captain America</avenger_name>
    </marvel>';
    SELECT @x.query('/*');
    You can query the avenger_name elements from the marvel_xml table with the following syntax:
    SELECT xml_table.query('/marvel/avenger_name')
    FROM marvel_xml;
    It returns the following set of avenger_name elements:
    <avenger_name>Hulk</avenger_name>
    <avenger_name>Iron Man</avenger_name>
    <avenger_name>Black Widow</avenger_name>
    <avenger_name>Thor</avenger_name>
    <avenger_name>Captain America</avenger_name>
    <avenger_name>Hawkeye</avenger_name>
    <avenger_name>Winter Soldier</avenger_name>
    <avenger_name>Iron Patriot</avenger_name>
    You can query the fourth avenger_name element from the marvel_xml table with the following xquery statement:
    SELECT xml_table.query('/marvel[4]/avenger_name')
    FROM marvel_xml;
    It returns the following avenger_name element:
    <avenger_name>Thor</avenger_name>

    Hi Scott,
    The master database records all the system-level information for a SQL Server system, so best practise would be not to create any user-defined
    object within it.
    To change your default database(master by default) of your login to another, follow the next steps so that next time when connected you don't have to use "USE dbname" to switch database.
    Open SQL Server Management Studio
    --> Go to Object explorer(the left panel by default layout)
    --> Extend "Security"
    --> Extend "Logins"
    --> Right click on your login, click "propertites"
    --> Choose the "Default database" at the bottom of the pop-up window.
    --or simply by T-SQL
    Exec sp_defaultdb @loginame='yourLogin', @defdb='youDB'
    Regarding your question, you can reference the below.
    SELECT * FROM master.sys.all_objects where name ='Marvel'
    --OR
    SELECT OBJECT_ID('master.dbo.Marvel') --if non empty result returns, the object exists
    --usually the OBJECT_ID is used if a if statement as below
    IF OBJECT_ID('master.dbo.Marvel') IS NOT NULL
    PRINT ('TABLE EXISTS') --Or some other logic
    What is the sys.all_objects? See
    here.
    If you have any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support

  • How to Save the multiple selection check box values into the database

    i have the multiple selection check box implemented in UI through drop down list,i can choose the desired values from the drop down through checkbox, but i m unable to store these values and commit the values into the database all at a time.

    You can access the values using listbinding and can then store them as a string by using a delimiter.

  • How can I insert a value into the Oracle Date column using JDBC?

    Suppose I have a table TEST created by "create table TEST (c1 INT, c2 Date);"
    Now I want to insert some proper value into the table TEST's column c2. I couldn't do that by TRYing using Java.sql.Date, Java.Util.Date, Java.String.
    Could anyone give me some suggestions by providing the sample code?
    Many thanks for your help!
    Wendy

    What about building the java string:
    "Insert into test (c1,d1) values ("+
    Integer.toString(var)+
    ", TO_DATE("
    formatYourDateVariableWithCalendarMethods
    ",'DD-MON-YYYY')"
    and executing it ??

  • How to prevent copy of value into condition in PO from prev PO

    Hi
    I have a manual pricing condition in the Purchase Order. Whenever I am creating a new PO, system is bringing the value of the condition from the last PO. How do I prevent this? I have set the condition as manual in pricing schema, set manual entry takes precendence in the condition type, set the condition type amount/percent as editable/deletable already.
    Since the value gets copied from last PO value, sometimes users without realizing this are making another entry for the same condition manually and hence PO is ending up with two values for the same condition type.
    Pl. advise
    Sriram

    Hi,
    Sol : IMG > MM > Purchasing > Enviornment data > Default values for buyers > setting s for default values > select 01 click on detail icon > click on price adoption tab make it as donot copy
    Regards
    AKM

  • Copy paiste objects into the exact position!

    helllo forumers.
    i have 2 questions about the copy paiste command.
    1st) question is i have multiple objects on one layer circles rectagnles and so on,im trying to copy paiste one of those objects onto a new layer.but it wont
    be paisted on the exact same position,rather its moving into the middle of the art board,is there a way to copy paiste an object onto another layer and retaining its initial position on the art board?
    2nd question is there also a way to copy paiste from illustrator into photoshop and also the object to fall into place where it sohuld be located,initial posiiton
    thats on the illustrator art board to be paisted onto the photoshop art board.cos again i have the same problem the object gets paisted onto the middle of the
    photoshop artboard and then i have to do the nudging myself.
    thank you.

    hello steve.
    1st question solved pretty quick i may say.
    the 2nd question is a lttle bit confusing,is there a link i can see of this demonstration?
    thank you.

  • How to Capture the Variables Value into the

    Using JSLT part of the Jdeveloper/Jheadstart, ADF/Struts Framework.
    I'm capturing the value fine using the following,
    <c:set var="CvInformationFirstName" scope="request" value="${bindings.CvInformationFirstName.attributeValue}"/>I can even show the value without any problem,
    <%-- Show the saved values --%>
    <c:out value='${requestScope.CvInformationFirstName}' />Right here, we I try assigning the value of the firstname to a field, I can't accomplish this since I just don't know how to do it,
    <html:text name="CvInformationBean" property="CvInformationFirstName" size="10" maxlength="10"/>
    Any help will be greatly appreciate it.
    Oracle Group

    I am not sure what it is you are trying to accomplish. What do you mean with "assigning"? It is a business rule where the FirstName and LastName fields of the master need to be equal to the FirstName and LastName of the details, or is it the other way around? Anyway, it seems you are trying to get this business rule implemented by playing around with <html:text> elements in the JSP. You can't do it that way. Those <html:text> elemens are "two way". When the page is shown they determine which values get shown. Then, when the user enters new values and submits, they determine where those values are stored. If I understand what you are trying to accomplish correctly, you are trying to show values from one place, but submit them to another place. That can't be done strictly at the JSP level (not unless you use JavaScript anyway).
    But then again, I may be misinterpreting what you are trying to do. Could you provide some more details about what the desired functionality is?
    Finally, may I remark that this is the JHeadstart Forum, where you can communicate with other JHeadstart users all over the world. Also you may have noticed that the JHeadstart Team monitors this forum, and as such it is used as a means of providing some support for JHeadstart users that run into bugs or problems with the JHeadstart Tool (JHeadstart is a Consulting product that does not come with official "Metalink" support). But your problem is obviously not a bug in JHeadstart, you are just wondering how to implement some additional functionality that our Generator does not generate. So I hope you understand that if you get any assistance on this forum with your problem, either from the JHeadstart Team or from other JHeadstart users, it is not because you have a right to it, but because we're a bunch of friendly people out here that like to help out where we can. Demanding a reply like you did with your last two posts (an hour apart!) is really not done.
    Kind regards,
    Peter Ebell
    JHeadstart Team

  • How to copy and paste into the same picture using quick selection tool

    I have Photoshop CS5 and am new at this.  What I need to do is copy and paste something in the image back into the same image.  I can select it with the quick selection tool.  All I want to do is paste a copy of it back into my image, move it and rotate it a little. 
    I've searched for an answer for a couple of days now and evidently, I'm searching for the wrong thing.  This is what I need to do and I don't know how to get there.  I do this in Digital Image Suite all the time and it's very simple.  I know Photoshop is a lot more complicated but you can do more with it so I am trying to switch by using it to work on my projects.  I've read articles where people say to use the quick selection tool and do a copy and paste but for me, all it does is add blank layer and the selection disappears.  If I paste again, it pastes the item in the middle of the image and I can't move it or change it in any way.
    One more question:  in the Filters menu, all of the filters are gray-shaded.  I read that I have to buy these filters, is that true?
    Thank you for your help.  If there is a beginner's forum where you would rather I post my questions, please let me know.

    Once you have a selection, I use Ctrl C to copy and Ctrl V to paste.  This will add a layer but may not look like it as it is in exactly the same spot in picture.  If you paste again it will show up near middle of picture.
    If you want to resize and rotate use Ctrl T.
    More options are in Edit/Transform.  I particularly like Warp.
    All the filters should be active, but many only work in 8 bit RGB mode.  To see what mode they are in click Image/Mode.

  • Migration of Cost Transaction Work In Progress Values into the Projects

    Hi,
    Can anyone kindly help me out in the approach to adopt for the Open Work in progress value migration into the projects applications of Oracle Applications.
    Thanks in Advance,
    Lavanya
    Edited by: Lavan ya on Nov 15, 2009 12:54 AM

    Hi
    The migration strategy depends on the way the company will for forward with its accounting procedure.
    I assume the project is incurring costs as work occurs, and supplier invoices are entered. At the end of the period the company need to move the value of costs which has not matched to the period revenue into a GL account representing the Work in Progress. If the model is calculating the figures on the marginal period, and not accumulated ITD amount, then your approach may be valid.
    The question regarding converting the project invoices (sent to customer) also depends on the method you accrue revenue. If Revenue and Invoice is always taken on the same time for the same value, you don't need to maintain UBR&UER balances. However, if those are generated separately, you might need to convert into Projects also the old revenue and old invoiced amount per project.
    Converting historic data also depends on the requirements for future reporting. If you only convert the balance of WIP, you might be missing information for reporting actual cost versus cost budgets, etc.
    Dina

  • Store APEX_ITEM.RADIOGROUP value into the database!

    Hi All,
    I am using the following query to display questions from a table. Does anyone know how we can insert the value of APEX_ITEM.RADIOGROUP(if it is a radiogroup with static LOV ie. Static2: very poor;1,good;2,very good;3,excellent;4) into the database.
    select question_id,
    question_desc,
    APEX_ITEM.RADIOGROUP(1) as rating
    from table_name
    Thanks,
    Parveen Sehrawat

    Also tried it this way:
    function reviewerID() {
    var reviewer =html_RadioValue('f01');
    if (reviewer == 1){
    html_GetElement('P1_CUSTOMER_ID').value = 1;
    if (reviewer == 2){
    html_GetElement('P1_CUSTOMER_ID').value = 2;
    if (reviewer == 3){
    html_GetElement('P1_CUSTOMER_ID').value = 3;
    if (reviewer == 4){
    html_GetElement('P1_CUSTOMER_ID').value = 4;
    if (reviewer == 5){
    html_GetElement('P1_CUSTOMER_ID').value = 5;
    its clumbsy but i thought it would do the job... am still gettin the same error trying it this way though....
    l_This has no properties
    l_Selects = l_This.getElementsByTagName('SELECT');
    Help from anyone much appreciated!!

Maybe you are looking for

  • Display message in BEx variable screen in 7.0

    In BEx 3.5 I was able to display a message to the user when they enter a value they are not authorized for in the variable screen.  This was done using the function module RRMS_MESSAGE_HANDLING in the variable user exit at step 3 and raising no_repla

  • Free Goods ..... Want a solution in Outbound Delivery

    There is an Audit Issue in our company: We have created 10:1 Exclusive Free goods for a particular material. So when we order 10 qtys of that material then automatically the free item appear in the next line item....and if we make this 9 then the fre

  • Tablespace issue

    Hi, I created one database manually. I created one table space, My question is can I assign manually database to tablespace(logical container)

  • Move photos from one roll to another?

    Hi, I have iphoto 6 and was wondering if I can move photos from one roll to another existing roll? When I moved photos from an external drive, photos that should have been lumped together ended up in different rolls so I'm trying to sort everything o

  • Repair or Change Motherboard

    Hi, I've got a Lenovo 3000 N200 0769-AH9 Laptop with a T9300 Penryn-CPU and broke my Mainboard(CPU-Cooler doesn't work any more).  I saw a Mainboard for 150 €, which is very cheap, as there are no replacement mainboards to buy under 400€. I would buy