Help need in getting thread join to actionperformed event.

Hi,
I am trying to building a small application which should give me the following functionality.
My main function should span two windows. One window(1) will be receiving the input from the user and after the user enter a string and press the OK butten, the other window(2) should display this string and first window should set unvisible.
To have this function working my window(2) should wait for the window(1) ActionPerform event complete and receive the message from it.
Can any of you please help me getting some hints or sample codes for this action to be done.
Thanks.

Varad,
Not sure what you are suggesting is what I am looking to do. I believe with your example here that I would need to create a new item table in my current DB in order to recall this data. This table would be populated with the items I selected (checkbox) from the original page. This is one solution, but the issue is that this is dynamic and these values would change as a new search is generated or different values are selected.
Is there anyway in which to make (code) in ApEx so as that the values (i.e. P1_items 123 : 234 : 456) (note that these items are defaulted to colon delimitation by ApEx) are properly formatted so as SQL can read them as independent items. Note if I simply rewrite the original SQL script and replace the :P1_item with generic values (123 , 234 , 456) the SQL operates as intended.
Thank you for your support and help,
Randy

Similar Messages

  • Help needed with condition based joins in pl\sql

    Hi,
    I need to get data from 6 tables,
    Scenario 1 : I need to join 4 tables and join this result set to 5th table
    Scenario2: resultset of join of 4 tables to 6th table
    In this case how do i save the intermediate result set of 4 tables to use it in further joins.

    Welcome to the forum.
    Your question is broad.
    http://tkyte.blogspot.com/2005/06/how-to-ask-questions.html
    A more detailed example would help.
    Mention your database version as well and see the FAQ http://forums.oracle.com/forums/help.jspa when it comes to posting formatted examples using the {noformat}{noformat} tag
    However, i think using the WITH clause or a subquery ( a.k.a. inline view) is what you're looking for.
    Do some searches on http://asktom.oracle.com to find many examples.
    Also see:
    http://www.oracle-base.com/articles/misc/WithClause.php
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries007.htm#sthref3193                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Help needed in getting file url

    Hi,
    I work in a project where i need to get the url of the specified file. The code for that is as,
    URL fileURL = Thread.currentThread().getContextClassLoader().getResource();
    The required resource is available in the concerned path. But the file url returns null
    Can you please help in solving the problem.
    Thanks and Regards,
    Mclaren

    Where (text area, label, button) do you want it to do it.
    What do you want it do (browse within the local text area, open the default browser...)
    Text area, use above, JButton (or alike) and open default browser, use ActionListener and JDIC.

  • Help needed in getting the previous Quarter Data

    Hello folks,
    I have this procedure where i have to modify the current procedure in the following manner:
    I need to get rid of the variables p_start and p_end so that i cannot see them in the crystal report and include the Frequency in the procedure to get the Data based on the Dates.
    and Main requirement is" If the Frequency is Quarterly " it should get the previous quarter Data, if "Frequency is monthly" it should return the previous month data.Can anyone please let me know where shud i make changes. Am including the procedure for refernce. Any help is appreciated
    Thanks a millioin,
    CREATE OR REPLACE PROCEDURE hcsc_recovery_report_h(report_record in out cr_return_types.gen_cursor,
    p_start       string,
    p_end         string)
    IS
    v_startdate date;
    v_enddate date;
    BEGIN
    v_startdate := to_date(p_start, 'YYYY/MM');
    v_enddate := last_day(to_date(p_end, 'YYYY/MM'));
    open report_record for
    select --distinct r.recovery_id
    r.event_id,
    r.event_case_id,
    c.client_id,
    c.client_code,
    c.client_name,
    b.branch_group_code,
    b.branch_group_description,
    g.employer_group_code,
    g.employer_group_name,
    e.client_policy_identifier,
    e.date_of_incident,
    e.event_type_code,
    sum(nvl(r.amount, 0)) as amt_received,
    nvl(sum(case
    when r.amount >= 0 then
    rd.fees
    else
    rd.fees * (-1)
    end),
    0) as fees,
    ec.close_date, *001* commented
    (case
    when ec.close_date <= to_date(to_char(v_enddate, 'MMDDRRRR') || '235959',
    'MMDDRRRR HH24MISS') then
    ec.close_date
    else
    null
    end) as close_date, --*001*  added
    get_case_value(ec.event_id, ec.event_case_id, v_enddate) as case_value,
    nvl(etl.fee_percent_flag, 'N') workmans_comp,
    max(to_char(r.recovery_date, 'FMMonthYYYY')) Year_Month,
    max(to_char(r.recovery_date, 'YYYYMM')) Y_M,
    max(to_date(to_char(r.recovery_date, 'MMYYYY'), 'MM/YYYY')) date_MY
    from recovery r,
    recovery_detail rd,
    event e,
    client c,
    branch_group b,
    employer_group g,
    event_case ec,
    event_type_lookup etl
    where r.event_id = e.event_id
    and r.event_case_id = ec.event_case_id
    and ec.event_id = e.event_id
    and rd.recovery_id(+) = r.recovery_id
    and r.recovery_date between v_startdate and
    to_date(to_char(v_enddate, 'MMDDRRRR') || '235959',
    'MMDDRRRR HH24MISS')
    and e.client_id = c.client_id
    and g.client_id = c.client_id
    and b.client_id = c.client_id
    and g.employer_group_id(+) = e.employer_group_id
    and b.branch_group_id(+) = g.branch_group_id
    and e.event_type_code = etl.event_type_code -- SST 130852 04/14/09
    group by r.event_id,
    r.event_case_id,
    c.client_id,
    c.client_code,
    c.client_name,
    b.branch_group_code,
    b.branch_group_description,
    g.employer_group_code,
    g.employer_group_name,
    e.client_policy_identifier,
    e.date_of_incident,
    e.event_type_code,
    ec.close_date,
    get_case_value(ec.event_id, ec.event_case_id, v_enddate),
    nvl(etl.fee_percent_flag, 'N')
    having sum(nvl(r.amount, 0)) <> 0
    order by c.client_code,
    b.branch_group_code,
    g.employer_group_code,
    r.event_case_id;
    Edited by: user11961230 on Oct 20, 2009 9:02 AM

    user11961230 wrote:
    1. I want to get rid of the p_start and p_end. So how do i declare the v_startdate and v_enddate in the following part?
    v_startdate := to_date(p_start, 'YYYY/MM');
    v_enddate := last_day(to_date(p_end, 'YYYY/MM'));I'm not sure what you mean by "declare".
    In PL/SQL, "declare" means state (at the beginning of a block) that there will be a certain variable with a certain name (such as v_startdate) and datatype (such as DATE). You're already declaring the variables v_startdate and v_enddate correctly, right before the BEGIN statement.
    Declaring a variable is not the same as initializing it, that is, giving it a value for the first time. Your next question seems to be about initializing..
    2. where exactly shud i include the logic that u have mentioned. sorry a dumb questionIn place of the two assignment statments that reference p_start and p_end.
    3. This time am gonna use frequency instead of report_type so that i will get rid of the p_start and p_end from the procedure.Do you mean you want to pass an argument (called frequency) that tells if you want a quarterly or a mionthly report, just like the variable report_type in my example?
    If so, replace report_type in my example with frequency.
    I think you want something like this:
    CREATE OR REPLACE PROCEDURE hcsc_recovery_report_h
    (      report_record         in out     cr_return_types.gen_cursor
    ,      frequency         IN           VARCHAR2
    IS
         -- Declare local variables:
         v_startdate     date;
         v_enddate      date;
    BEGIN
         -- Initialize v_startdate and v_enddate, depending on frequency
         IF  frequency = 'QUARTERLY'
         THEN
              v_startdate := TRUNC ( ADD_MONTHS (SYSDATE, -3)
                                           , 'Q'
              v_enddate := TRUNC (SYSDATE, 'Q');
         ELSIF  frequency = 'MONTHLY'
         THEN
              v_startdate := TRUNC ( ADD_MONTHS (SYSDATE, -1)
                             , 'MM'
              v_enddate := TRUNC (SYSDATE, 'MM');
         END IF;
         --   Subtract one second from v_enddate
              v_enddate := v_enddate - ( 1
                                            / (24 * 60 * 60)
         open report_record for
         select --distinct r.recovery_id
                r.event_id,
         and     r.recovery_date  BETWEEN  v_startdate     
                         AND       v_enddate
         ...When you post formatted text on this site (and code should always be formatted), type these 6 characters:
    (small letters only, inside curly brackets) before and after sections of formatted text, to preserve spacing.
    Edited by: Frank Kulash on Oct 20, 2009 2:37 PM
    Changed query to use BETWEEN                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Help needed, M getting this message sandbox environment error no test user account, when downloading any application from iTunes, friend told me to sign out and sign in iTunes it might solve the problem but instead I cannot login I to my itune account.

    Help needed,
    I am getting this message sandbox environment error no test user account, when downloading any application from iTunes, friend told me to sign out and sign in iTunes it might solve the problem , and i triyed it but still  I cannot login I to my itune account. Same message keeping. Popping up,  this problem started supricly today.

    Take a look at the instructions here.
    http://www.technogal.net/2012/03/this-is-not-test-user-account-please.html

  • I need help need to get rid of  abckground in a psd in motion

    when I save my psd in photoshop...I keep all the layers....I then try to take it to motion 2 becuase I want to create a lower third.....for whatever reason I cannot get rid of the background in my psd file....I need some serious help here...is there something I need to do differently in photoshop....anyhelp woul dbe appreciated....i even go to the layers section in motion..and when I click on any of the layers that pertain to my psd file the whole image dissapears....mind you it's only a picture of several stacks of records..with a black glow on it...to seperate the records from the background video I am importing into motion...please help

    i fixed it.....the original image was saved wrong in the first place...... < </div>
    Ah, user error. Welcome to the "Doh! Club." We're all members but some of us won't ever admit it.
    Please mark this thread ANSWERED.
    bogiesan

  • Help Needed with getting Started With Office 365 Development C# Rest API

    We have a O365 Tenant Setup with a Federated Active Directory Setip we want to be able to right code that will connect to our tenant and perform basic CRUD operations against it (ex. Creating mail boxes)
    The problem is we want this to be contained in a CLR trigger In SQL so say if a new user is added to our user table then we would create a new AD account for that user and also create a mailbox.
    But I cannot find and example on how to connect to Office 365 using the REST API (Not the SDK because you can not add the connected service to a class library) and before the required actions that we need to do. All the example I have found are with the
    SDK API and/or require window 8 and that is also not an option.
    Please help I do not know where to start, and I would love to see some examples done in c# and not using the SDK.
    Thanks,
    Andrew Day

    Hi,
    >> Instead of SharePoint URLs I would use the O365 API URL?
    Yes, in my sample code, I was accessing the File resource by using the O365 File API. In your case, you need to acquire the token to access the Mail resource and use O365 Mail API.
    By the way, I think the article
    Understand Office 365 app authentication concepts will help you to understand the authentication process in Office 365 Development.
    >> Why can I not use the SDK API with a class Library?
    Actually, you are able to reference the Office 365 .NET SDK in the class Library. But the class library project type was not supported by Visual Studio Office 365 Development Tool. As a workaround,
    you can reference the SDK manually in your project.
    Since your original question is about “getting started with Office 365 Development C# Rest API”, if you have more questions about the Office 365 SDK, I will suggest you posting a new thread
    to discuss the Office 365 SDK. It will involve more other community members to share their ideas and experience on a specific a question and for others who had a similar question could also find the valuable information quickly.
    Regards,
    Jeffrey
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Help needed regarding getting jnlp

    Hi all,
    we need help regading java web start. We are downloadng some set of jar files to the client side using JNLP. With these jar files jnlp launches a swing base application in the client side and interacts with server application depoyed in WebSphere. In order to launch this application IBM Jre is needed in the client side. But IBM Jre can not install in non IBM meachines. So, we planing to make jar file of Jre and download it along with the rest of the jar files. After that we want to install in some directory in the client meachine and use that JRE to launch application. Now we are couple of problems with this approach.
    1) To extract the Jre from the jar file we need the path, where these jars are downloaded.Even though we know the path "C:\Documents and Settings\Administrator\Application Data\IBM\Java\Deployment\cache" we can't hard code this, because user may change this location. The extraction program of this jar file in the client side is in one of the jar file that is downloaded. But here in the it is not able to recongnize relative path. So what we need is, is there any api to get this location of this path.
    2)Second, In order to launch the application with downloaded Jre we need to set the classpath for jars that are downlaoded with Jnlp. But after downloading these jar files to the client side they are renamed(prefixed with RM and RT). Now, how to set the classpath to these jar files.
    Here instead of JNLP if we use applet our problem will be solved. But we can't use applet because of client requirements.
    Anybody, please try to suggest me some thing with this problem.
    thanks,

    You might want to try posting your question to the Grid Control Forum.
    Enterprise Manager

  • Help needed in getting applet working

    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    public class murali1 extends JApplet{
         private Container contain;
         private GridBagLayout grid;
         private GridBagConstraints c;
    * Create the GUI and show it.
    public murali1() {
              //super("Assignment 1");
    //Create and set up the window.
    JFrame frame = new JFrame("Assignment 1");
              //Menu
              JMenuBar bar = new JMenuBar();
              JMenu file = new JMenu("File");
              bar.add(file);
              JMenuItem open = new JMenuItem("Open");
              file.add(open);
              open.addActionListener(new ActionListener(){
              public void actionPerformed (ActionEvent e)
              JMenuItem save = new JMenuItem("Save Random");
              file.add(save);
              save.addActionListener(new ActionListener(){
              public void actionPerformed (ActionEvent e)
              JMenuItem exit1 = new JMenuItem("Exit");
              file.add(exit1);
              exit1.addActionListener(new ActionListener(){
              public void actionPerformed (ActionEvent e)
                   System.exit(0);
              //Create 4 panels
              JPanel panel1,panel2,panel3,panel4;
              /*Adding components to Panel 1
              Panel 1 contains one Label and a ComboBox
              Panel 1 is a GridLayout
              panel1=new JPanel();
              String method[] = {"Random","Ascending","Descending"};
              JComboBox combo = new JComboBox(method);//Combo Box
              combo.setMaximumRowCount(3);
              combo.addItemListener(new ItemListener(){
              public void itemStateChanged(ItemEvent comboevent)
              JLabel combolabel;
              combolabel = new JLabel("Choose Prioritization Heuristic");
              //panel1.setLayout( new GridLayout (2,1));
              panel1.add(combolabel);
              panel1.add(combo);
              /*Adding components to panel 2
              Panel 2 contains one label and one text area
              Panel 2 is a GridLayout
              panel2 = new JPanel();
              JLabel textlabel = new JLabel("Evaluator Results");
              JTextArea evalarea = new JTextArea();
              panel2.add(textlabel);
              //panel1.setLayout( new GridLayout (2,1));
              panel2.add(evalarea);
              /*Adding components to panel 3
              Panel 3 contains 5 labels,3 textfields, 1 button
              Panel 3 is a GridLayout
              panel3 = new JPanel();
              JLabel label1,label2,label3,label4,label5;
              label1 = new JLabel("Use the Fields only for Random Heuristic");
              label2 = new JLabel("Enter Maximum # of Tries");
              label3 = new JLabel("Enter # of Tests in TS");
              label4 = new JLabel("Enter ID# of Tests in TS(d) (Separated by Comma)");
              label5 = new JLabel("Please Press SUBMIT");
              JTextField tf1,tf2,tf3;
              tf1 = new JTextField();
              tf2 = new JTextField();
              tf3 = new JTextField();
              JButton submit = new JButton("Submit");
              //panel1.setLayout( new GridLayout (9,1));
              panel3.add(label1);
              panel3.add(label2);
              panel3.add(tf1);
              panel3.add(label3);
              panel3.add(tf2);
              panel3.add(label4);
              panel3.add(tf3);
              panel3.add(label5);
              panel3.add(submit);
              /*Adding components to panel 4
              Panel 4 contains 4 labels,1 textfields, 3 button
              Panel 4 is a GridLayout
              panel4 = new JPanel();
              JLabel label6,label7,label8,label9;
              label6 = new JLabel("Press RUN to start evaluation");
              label7 = new JLabel("Press Exit to Terminate Program");
              label8 = new JLabel("MLP(d) and RP(d) are:");
              label9 = new JLabel("Press CLEAR to start new evaluation");
              JButton run = new JButton("Run");
              JButton exit = new JButton("Exit");
              JButton clear = new JButton("Clear");
              JTextArea area1 = new JTextArea();
              panel4.add(label6);
              panel4.add(run);
              panel4.add(label7);
              panel4.add(exit);
              panel4.add(label8);
              panel4.add(area1);
              panel4.add(label9);
              panel4.add(clear);
              /*panel1.setVisible(true);
              panel2.setVisible(true);
              panel3.setVisible(true);
              panel4.setVisible(true);*/
              /* set Grid Bag Layout
              Add all the panels to the GridBag Layout
              contain = frame.getContentPane();
              grid = new GridBagLayout();
              contain.setLayout(new GridBagLayout());
              c = new GridBagConstraints();
              addComponent(panel1,0,0);
              addComponent(panel2,0,4);
              addComponent(panel3,4,0);
              addComponent(panel4,4,6);
              //setSize(1200,100);
              this.setVisible(true);
              /*Method to Add Components*/
              private void addComponent(Component co,int row,int column)
                        c.gridx = column;
                        c.gridy = row;
                        grid.setConstraints(co,c);
                        contain.add(co);
    /*Set up the content pane.
    addComponentsToPane(frame.getContentPane());*/
    //Display the window.
    //frame.pack();
    //frame.setVisible(true);
    public static void main(String[] args) {
    murali1 g = new murali1();
                   //g.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    The Compliation is totally fine,applet loads, but the gui components are not diaplyed.Any suggestions.
    Thank you.

    That's not really an applet. Or it's a half-done one. It looks like you just took a standalone app (with its own frame and everything), added "extends JApplet", commented out a few things that absolutely shouldn't work, and otherwise changed almost nothing.
    The browser won't invoke the applet's main() method. I guess that's not a problem, but are you aware that it's not being invoked?
    An applet is a kind of panel. You shouldn't be creating frames. You should put all the GUI elments in the panel...which it appears you did, but can you actually get rid of the irrelevant code? Furthermore, when you post code on these forums, you should wrap it in [code][/code] tags; it makes it much easier to read.
    An applet shouldn't call System.exit(). You'll probably get a security exception if you try running that.
    That addComponent method looks suspicious to me. You're changing the columns and row of the same object over and over again. I'm not a GUI expert, so maybe I'm wrong, but that seems really wrong.
    You shouldn't need to call this.setVisible(true) for an applet.
    I'd suggest cleaning your code up, and maybe moving some of that stuff out of the constructor anyway. In an applet it might be better placed in init().
    Message was edited by:
    paulcw

  • [Solved] Help needed with getting fonts antialiased.

    Greetings.  I'm in the process of installingArch and I must be missing something as fonts just aren't antialiasing.  Any help would be appreciated.  I'm using the Fonts guide on the wiki.  Here's the steps I did:
    pacman -Rd libxft
    yaourt -S fontconfig-lcd cairo-lcd
    pacman -S libxft-lcd
    Freetype is installed and I linked what I could to /etc/fonts/conf.d/:
    10-autohint.conf 40-nonlatin.conf 65-nonlatin.conf
    10-sub-pixel-rgb.conf 45-latin.conf 69-unifont.conf
    20-fix-globaladvance.conf 49-sansserif.conf 70-no-bitmaps.conf
    20-unhint-small-vera.conf 50-user.conf 80-delicious.conf
    29-replace-bitmap-fonts.conf 51-local.conf 90-synthetic.conf
    30-metric-aliases.conf 60-latin.conf README
    30-urw-aliases.conf 65-fonts-persian.conf
    I've tried changing settings in the KDE control center from "System Settings" to Enabled, started a new app.  But no luck.  I've created a basic ~/.fonts.conf that has antialiasing and hinting, logging out and logging in again to no avail.  What got me was that fontconfig didn't install a 10-antialias.conf:
    10-autohint.conf 25-unhint-nonlatin.conf 60-latin.conf
    10-no-sub-pixel.conf 29-replace-bitmap-fonts.conf 65-fonts-persian.conf
    10-sub-pixel-bgr.conf 30-metric-aliases.conf 65-khmer.conf
    10-sub-pixel-rgb.conf 30-urw-aliases.conf 65-nonlatin.conf
    10-sub-pixel-vbgr.conf 40-nonlatin.conf 69-unifont.conf
    10-sub-pixel-vrgb.conf 45-latin.conf 70-no-bitmaps.conf
    10-unhinted.conf 49-sansserif.conf 70-yes-bitmaps.conf
    20-fix-globaladvance.conf 50-user.conf 80-delicious.conf
    20-unhint-small-vera.conf 51-local.conf 90-synthetic.conf
    Is this the problem?  Obviously I'm missing a step here.  Any ideas, what do I need to do?
    Last edited by Kisha (2009-03-05 01:18:41)

    Dallied through the thread and didn't find anything.  No luck thus far.  Looks like this is a system-wide problem as KDM in not antialiasing.  Change to a new ~/.fonts.conf:
    <?xml version="1.0"?>
    <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
    <fontconfig>
    <match target="font" >
    <edit mode="assign" name="rgba" >
    <const>rgb</const>
    </edit>
    </match>
    <match target="font" >
    <edit mode="assign" name="hinting" >
    <bool>true</bool>
    </edit>
    </match>
    <match target="font" >
    <edit mode="assign" name="hintstyle" >
    <const>hintslight</const>
    </edit>
    </match>
    <match target="font" >
    <edit mode="assign" name="antialias" >
    <bool>true</bool>
    </edit>
    </match>
    <match target="font">
    <edit mode="assign" name="lcdfilter">
    <const>lcddefault</const>
    </edit>
    </match>
    </fontconfig>
    but the problem persists.  Argh, this is tough.  Did I possibly forget something?
    Last edited by Kisha (2009-03-05 00:03:19)

  • RE: HELP, Need to get SMS off phone

    The screen cracked on my palm pre (sprint) and nothing is readable. I can still connect it to my PC and in 'My Computer' can go into it and see all my pics, mms, etc. However, it doesn't show past text messages. There is a certain conversation via SMS that I NEED for court. This there any program where I can copy my phones entire hard drive to my PC? I don't care about the pics, mms, ringtones, etc......just need those SMS messages. Thanks for any help! I REALLY appreciate it.
    Thanks,
    JC 
    Post relates to: Pre p100eww (Sprint)

    m8,
    Just do a backup by pcsuite & then when your phone got fixed do the restore. If you plan to replaced that damage phone, get the latest pcsuite that support that phone & the one you plan to buy then do the restore on that phone. The latest version of Nokia pcsuite supports backup/restore to a different phone model.
    Message Edited by android on 15-Apr-2008 02:05 PM
    Knowledge not shared is knowledge wasted!
    If you find it helpfull, it's not hard to click the STAR..

  • Help - Need to Get Max(Date) from An Unrelated Table in PowerPivot

    I have two tables in my Power Pivot model:
    Table A (a many table)
    Asset    
    SerialNumber                   
    User
    CTUT111                             
    YC112233                                            
    Bob
    CTUT222                             
    ZZ221144                                            
    Susy
    CTUT222                             
    ZZ221144                                            
    Larry
    CTUT333                             
    AB332244                                           
    Bob
    Table B (a many table, a CSV import from another system)
    Asset                    
    SerialNumber                                   
    CheckIn_Date
    CTUT111                             
    YC112233                                            
    6/15/2014
    CTUT111                             
    YC112233                                            
    6/20/2014
    CTUT222                             
    ZZ221144                                            
    6/18/2014
    CTUT333                             
    AB332244                                           
    6/20/2014
    I know it appears odd that Table B would have two entries for the same Asset (CTUT111), but it does.
    I know I could write a SQL query that gave me the MAX(CheckIn_Date), but I’m not staging these datasets in a SQL server first. 
    I’m pulling directly from CSV tables.
    I don’t want to have bridge tables either, if possible. 
    So, I’m left with a many-to-many situation in Power Pivot.
    I want to add a Calculated Column to Table A, called ‘Latest CheckIn Date’ – which I get from Table B, matching on Serial Number.
    So, when I’m done, I would expect the value for Asset=CTUT111 to be 6/20/2014 (since it’s the MAX of a value of dates)
    I’m trying this pattern from Marco Russo in which you don’t need to relate two tables to exchange information, but it doesn’t appear to be working.
    =CALCULATE (
    MAX ( VALUES ( TableB[CheckIn_Date] ) ),
    FILTER (
    TableB,
    'TableA'[SerialNumber]
    = TableB[SerialNumber]
    I’ve also tried to use LOOKUPVALUE, but I can’t seem to figure it out.
    Would appreciate the help.
    Thanks in advance.
    -Eric

    Hi Eric,
    Please, try this one formula:
    =CALCULATE (
                MAXX ( VALUES( TableB[CheckIn_Date] ); TableB[CheckIn_Date] );
                FILTER (
                    TableB;
                    'TableA'[SerialNumber] = TableB[SerialNumber]
    P.S. In my locale I use ";". According to your locale you should use ",".
    Truly yours,
    Paul

  • Help needed to get started

    Hi I am very new to Solaris and had not even seen what a UNIX screen looks before. The sys admin person left so it is all upto me to take care of the systems. That is a good thing, I'll learn, but I need some help. I have a brand new Sun V880 box sitting in the box. I have to install Solaris 10 & then Oracle 10g on it.
    As I mentioned, I am very new to the world of Solaris. I don't even know how and where to get Solaris installable CD and whether I need license. Also I know that Solaris installation is not like XP that I just run setup.exe.
    Could someone please guide me as where and how do I get started. I don't want anyone to do my work, but I need guidance. I know about Oracle 10g CD's but could someone tell me how do I begin with Solaris 10.
    The CD
    license
    parmaeters
    kernal settings
    etc.
    Any help and guidance is appreciated. Thanks in advance.

    hello,
    you can download the solaris 10 install iso's directly from sun (look under products). as far as the licensing goes, read the aup. i strongly suggest getting a book on unix basics, unix security, and another on administration. unix can be very complicated to learn how to setup and secure properly. i dont want to discourage you, but you are going to need to spend a fair amount of time on this one (learning what everything is, device names, services, package system, etc).
    good luck

  • Urgent help needed to get this home page up!

    Hi,
    I need urgent help with this and it is driving me crazy. For
    some reason my animation starts at its fastest and won't stop until
    you click the area then it works properly. I have no clue why it is
    doing this and only seems to do it on a PC browser not on a Mac.
    Can anyone help please!!!!!
    Link to sample:
    http://www.totalamber.com/test.html
    Link to fla:
    http://www.totalamber.com/flash/homepage.fla
    Thanks so much for anyone who can help or tries to help me.
    Neil
    Ps this is urgent and i can't find a solution by searching on
    here

    Thanks to anyone who has looked at this but i have found the
    answer.
    It is due to what many of the users on here will already know
    and can be explained in this link:
    http://blog.deconcept.com/swfobject/
    I had forgot about the legal patent going on with microsoft!
    Hope it helps anyone else as bad as i am.
    Neil

  • Help neede to get Cost Itemization for a material

    Dear All,
    I am developing one report for Cost Component Details. First of all I Fetch Cost Estimate No for the Material from KEKO table then I search KEPH table for its Cost Components here i get 2 entries for a material one is for UPPER LEVEL and One for LOWER LEVEL. And after that i use "BAPI_COSTESTIMATE_ITEMIZATION" to get itemization but my problem is that i am not able to find data for LOWER LEVEL Components. I want both UPPER & LOWER LEVEL itemization for the particular material so i can match overall cost.
    So, can anybody help me in this matter.
    Thanks in Advance,
    With Regards,
    Mudassar Praniya.

    Solved.

Maybe you are looking for

  • Ap authentication/join issue

    i am having issues joining new 1242LAP's to my controller.  i am receiving the follwing error on my controller: AAA Authentication Failure for UserName:5475d01144f0 User Type: WLAN USER username is the MAC of my new 1242LAP.  older 1242LAP's have no

  • Hi friends any one can reply this regarding Bdc

    HI friends, in bdc irrepsctive of screen resolution we use one structure is used .for table controls... can u kindly tell me what is that...i just forgotten...and if code avialable regarding that it much more useful.

  • Adding dynamic columns to region

    I have four tables named projects,Sharedservices,Characteristics,Quantitystructures. The Sharedservices and Characteristisc tables are linked together using Sharedservice Id field. The Quantitystructures table is linked with Projects and Characterist

  • Jnlp and jar files

    hi i am just new in deploying applicatin as jnlp, i just want to verify if it requires that the jar files i am going to create is an executable jar file or not. Do i need to put a manifest file in the jar? thanks in advance...

  • MSS Start Process iView

    Hi,     Can we skip the first step "Employee Selection" and move directly to the "Process Selection" in the "Start Process" iview with MSS 1.0. If this can be done, Can you please let me know how to skip the Employee selection step. Thanks, Anand Edi