Finding common set in 2 VOs

Hi,
I need to find the common set between 2 ViewObjects based on the same entity. How can this be achieved...any ideas.
TIA

Thanks for the reply. I got the common set by extracting the keys from one and finding the row from another.
As for the functionality part I was trying to implement a find on a resultset. I achieved that in a way that I am able to find and see results using next and previous. In the results I have observed that if the row is not in range the call to getCurrentRowIndex() after setting the row to current, returns the next start range i.e.. if range end is 9 I get a 10. But this creates a problem as if I have some sorting because that is lost once it happens.
Also I noticed that it works fine if I iterate forward (next), even a page jump is fine, but if I use a previous which should take me to a different page ..it surprisingly shows the last row as the result where as the result row is somewhere in the middle. This doesn't happen if the previous result is on the same page. I am unable to find the cause for this behaviour.
I would appreciate any help in solving these problems.
TIA

Similar Messages

  • Finding common attributes in a table

    Finding common attributes in a table
    Hello,
    I am sometimes faced with the following problems and I don’t know if it can be solved with SQL or how it could be solved with PL/SQL. I appreciate your help on this.
    I have a customer table with a cust_id key and 10 their customer attributes in the table.
    1.     Given a set of cust_id keys, what are the common attributes of that set. That is, of the other 10 attributes, which ones are the same for each cust_id in the set?
    2.     Given a set of attributes, what is the set of cust_id keys for which they are all the same?
    Thanks for your help and suggestions.
    Gary

    Something like:
    select  case
              when min(attr1) = max(attr1) then 'All attr1 values are ' || max(attr1)
              else 'Attr1 values range form ' || min(attr1) || ' to ' ||  max(attr1)
            end attr1,
            case
              when min(attr2) = max(attr2) then 'All attr2 values are ' || max(attr2)
              else 'Attr2 values range form ' || min(attr1) || ' to ' ||  max(attr2)
            end attr2,
            case
              when min(attr10) = max(attr1) then 'All attr10 values are ' || max(attr10)
              else 'Attr10 values range form ' || min(attr10) || ' to ' ||  max(attr10)
            end attr10
      from  customer
      where cust_id in (cust_id_set)
    select cust_id
      from  customer
      where attr1 = attr1_val
    /SY.
    P.S. You need to tell how you wnat to treat NULL values.

  • Need to find common number

    Need to find common number among the set of calls :
    Create table call (id number(15) primary key not null , mobile_number number(10), other_party number(10), call_type varchar2(10),call_date_time date, duration number(15));
    insert into call values(1,9818764535,9899875643,'IN',to_date('24-APR-13 02:10:43','dd-MON-yy hh24:mi:ss'),10);
    insert into call values(2, 9897451236,9899875643,'OUT',to_date('28-APR-13 08:11:13','dd-MON-yy hh24:mi:ss'),20);
    insert into call values(3, 9899917277,9899875643,'IN',to_date('30-APR-13 18:07:02','dd-MON-yy hh24:mi:ss'),30);
    insert into call values(4,9818764535,9215478213,'IN',to_date('01-MAY-13 02:11:13','dd-MON-yy hh24:mi:ss'),40);
    insert into call values(5, 9899917277,9215478213,'IN',to_date('01-MAY-13 08:17:02','dd-MON-yy hh24:mi:ss'),25);
    insert into call values(6, 9897451236,9012451785,'OUT',to_date('01-MAY-13 20:21:04','dd-MON-yy hh24:mi:ss'),67);
    Query criteria :
    common caller for list of numbers who is in contact with listed numbers .
    Input Mobile_number:
    9818764535
    9897451236
    9899917277
    output common number
    Mobile number  otherparty date_time duration
    9818764535 9899875643 24-APR-13 02:10:43 10
    9897451236 9899875643 28-APR-13 08:11:13 20
    9899917277 9899875643 30-APR-13 18:07:02 30

    Thanks , it helped
    But if internal calls among these mobile numbers are to be find then
    insert into call values(1,9818764535,9899875643,'IN',to_date('24-APR-13 02:10:43','dd-MON-yy hh24:mi:ss'),10);
    insert into call values(2, 9897451236,9899875643,'OUT',to_date('28-APR-13 08:11:13','dd-MON-yy hh24:mi:ss'),20);
    insert into call values(3, 9899917277,9899875643,'IN',to_date('30-APR-13 18:07:02','dd-MON-yy hh24:mi:ss'),30);
    insert into call values(4,9818764535,9215478213,'IN',to_date('01-MAY-13 02:11:13','dd-MON-yy hh24:mi:ss'),40);
    insert into call values(5, 9899917277,9215478213,'IN',to_date('01-MAY-13 08:17:02','dd-MON-yy hh24:mi:ss'),25);
    insert into call values(6, 9897451236,9012451785,'OUT',to_date('01-MAY-13 20:21:04','dd-MON-yy hh24:mi:ss'),67);
    insert into call values(7,9818764535,9897451236,'IN',to_date('02-MAY-13 22:10:43','dd-MON-yy hh24:mi:ss'),100);
    insert into call values(8, 9899917277,9818764535,'IN',to_date('02-MAY-13 23:07:02','dd-MON-yy hh24:mi:ss'),130);
    Input Mobile_number:
    9818764535
    9897451236
    9899917277
    output internal calls :
    Mobile number otherparty call_type date_time duration
    9818764535 9897451236 IN 02-MAY-13 22:10:43 100
    9899917277 9818764535 IN 02-MAY-13 23:07:02 130

  • Ive uploaded firefox 4 and now I cant access messenger from the browser, it say unavailable, but it works as a stand alone prog.. cant find a setting to reactivate.. Please advise TY!

    Im on Win 7 Ultimate and had Firefox working fine with messenger in the browser & could use the pop up chat box. Since the upload I get the message that messenger is currently not available, but it works fine when I activate it as a stand alone prog. but I want it back in my browser.. cant find any setting or pref. to activate it... have cleared cache and history, restarted, even reloaded a messenger from Windows essencials.. no difference.. it been like this for 5 days since the update.. anyone got a solution? thanks alot for your help.

    DFU mode:
    http://www.iclarified.com/entry/index.php?enid=1034

  • Just installed ios 7 on my 4s, and I have two issues: 1) control centre: the music controls do not work, only the volume adjust slider works; 2) in mail, where do you find the setting to control how many messages you want your inbox to retain?

    Just installed ios 7 on my 4s, and I have two issues: 1) control centre: the music controls do not work, only the volume adjust slider works; 2) in mail, where do you find the setting to control how many messages you want your inbox to retain?

    Same problem here on my 4s: Control center music controls do not work.
    Since this thread has two issues, I'm going to start a new one with only the music control bug. Topic: iOS 7 Control Center Music Controls Not Working On iPhone 4s

  • I do not have the Firefox button the Getting started video refers to many times, I can't find a setting for it, how do I get it?

    The Firefox button referred to many times in the Getting started video for Firefox 4 (for Mac) does not appear on my window. I can't find a setting for it, how do I get it?

    The Firefox button is only on Linux and Windows. The Mac handles menus differently. In the Mac the menu bar is controlled by the operating system and is always present. In Windows and Linux, the Firefox button replaces the menu bar which is not possible on the Mac.

  • When I use the search box I would like results to show up in a "NEW" tab but I can't find this setting anywhere... Any solution???

    When I use the search box I would like results to show up in a "NEW" tab but I can't find this setting anywhere... Any solution???

    '''browser.search.openintab''' userset boolean True
    Also in Google search, upper-right-corner settings
    You can always force opening a link into a tab with Ctrl+click or Ctrl+Shift+click
    If you want the same from a bookmark make sure to set
    : '''browser.tabs.loadBookmarksInBackground''' to same value as you have for
    : '''browser.tabs.loadInBackground'''
    The last setting is controlled by Tools > Options > Tabs >
    :: When I click on a link, switch to it immediately,
    which control the difference between Ctrl+click and Ctrl+Shift+click
    Items in boldface''' can be set in about:config
    * '''More information on configuration variables''' available in [http://kb.mozillazine.org/About:config_entries about:config entries] and for users not familiar with the process there is [http://kb.mozillazine.org/About:config about:config] (How to change).
    Reading:
    * http://dmcritchie.mvps.org/firefox/keyboard.htm
    * http://dmcritchie.mvps.org/firefox/tabs_config.htm

  • I can't find the set up sync button

    I know this is stupid but I can't find the set up sync button. I want to transfer the bookmarks from my old PC and have read how to do it but when I click on the orange Firefox button top left of my screen the only option appears to be sync now. Any help will be gratefully received. Thanks Joe

    If you see sync now then this means that Sync is already installed on that computer and working.
    *https://support.mozilla.org/kb/add-a-device-to-firefox-sync
    *https://support.mozilla.org/kb/firefox-sync-troubleshooting-and-tips
    Did you create a new sync account or used the previously used email and password and sync key?
    Note that sync isn't supposed to be used as a means of transferring data from one computer to another, so you need to be careful with not overwriting data stored on the Sync server.
    Check the Sync options when you have used Sync before and want to keep previously stored data on the Sync server.
    * click the "Sync Options" button at the bottom to select what to sync (Sync Options only affect the first sync)
    Select this choice if you want to restore data from the Sync server:
    * "Replace all data on this device with my Sync data"
    You can also copy files to an USB stick to transfer them to another computer.
    *https://support.mozilla.org/kb/Recovering+important+data+from+an+old+profile
    You can use this button to go to the Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)

  • Failed to find platform-set-frequency-high

    I see this error in the System console log every time I start my 17" Powerbook 1GHz G4.
    *<username> kernel[0]: ASC::checkProperties ERROR: failed to find platform-set-frequency-high*
    *<username> kernel[0]: ASC::start ERROR: failed to find the properties*
    Startup seems to hang there while it's finding out that it can't set-frequency-high and can't find the properties.
    What is this error telling me?
    Where are the 'properties' it failed to find?
    How does one fix this error?
    Any help appreciated.

    I guess you're right there I'll move it across.

  • HT1766 How can I find my setting app?

    How can I find a setting icon in my ipad

    OK, let's try a reset:
    Tap and hold the Home button and the On/Off buttons for approximately 15-20 seconds, until the Apple logo reappears. When the logo appears, release both buttons.
    No content is affected by this procedure.
    If this doesn't work, go to Settings - General - Reset - Reset home screen layout.
    This procedure will rearrange your icons.

  • I can't find my "setting" folder on my Imac-- how do I get it back?

    I can't find my "setting" folder on my Imac-- how do I get it back? I think it could be deleted

    I'm guessing you mean the Preferences folder.
    Hold down the option key and select
    Go > Library
    from the Finder menu bar.

  • Leave mail on server - where do I find this setting?

    Hi everyone,
    I'm looking for this setting as it informed me on the izymail website to change my setting to 'leave mail on server' as this will allow me to access my emails that I have already opened on my laptop/PC.
    Where can I find this setting? iPhone/IzyMail/Hotmail?
    Regards,

    There would be a setting in your email client for this. Outlook or outlook express you have to go into the account options/properties and in the more settings section . On the iphone I think you want to go into the advanced settings on the email account and set the delete from server option to how you like.

  • Where do I find the setting tab to retrieve trashed messages?

    Where do I find the setting tab to retrieve trashed emails?

    could you explain that in detail.
    i hope its not related to firefox

  • I cannot find the "set up synch" button on my Windows 7 PC although I have changed the toolbar as per instruction and took the check off ofthe term "menu bar".

    the only item that pertains are the words "synch now" appear on the toolbar but they do not appear to be operational.
    Where will I find the "set up synch" on the toolbar when the "menu" bar is unchecked

    Anything helpful in the Sync log?
    You can open the <b>about:sync-log</b> page via the location bar.

  • My iphone 5s is taking screenshots in jpg. I would like them to be png but cannot find a setting for this....

    My iphone 5s is taking screenshots in jpg. I would like them to be png but cannot find a setting for this....

    Wrong forum. Here you have "Adobe Reader".
    For Flash Player visit:
    https://forums.adobe.com/community/flashplayer
    From this you can use the links to the sub-forums for Installing Flash Player and Using Flash Player.
    Good to know is that no password is needed to download, install and use Flash Player. 
    For the Acrobat / Adobe Reader Flsh Player see:
    https://helpx.adobe.com/acrobat/using/flash-player-needed-acrobat-reader.html
    Be well...

Maybe you are looking for

  • Open Qty is not copied in Delivery for Stock Transfer Order

    Hi, In the Stock Transfer Order process, Once the STO Order is created, I am creating delivery in the transaction VL10B or VL10G. When I am clicking the background button Delivery gets generated. Then when i am going in the transaction VL02N and incr

  • Lumia 620 motherboard problem

    Hi, My My nokia lumia 620 was spread with rain water, i have drained it. It was working next 2 days and next day suddenly it stopped displaying/booting/getting on.  Gave for Service now they are telling mother board is gone and it cannot be repaired.

  • Can't find the app After Effects (trial) after I downloaded CC and the trial! Help?!

    I downloaded Creative Cloud and After Effects trial. Creative Cloud says I downloaded it but I don't know where it is. I am using my brand new Macbook Pro Retina.

  • Date & time logic

    Dear Sir, I have a table abc with two columns. Column values are like date1 minutes 201103010559 560 201105250123 227 201003210445 430 I have to add minutes column values to date1 from the 9 digits onwards. because date1 having date and time values l

  • Updated AEBSn and CANNOT connect

    Any info appreciated: I updated my AEBSn and have not been able to connect to the internet; all lights green; can see the extreme, but not the network; When updated, it DID ask me to go to 'bridge' mode and gave me a yellow light; I followed instruct