Return of first plan - need to refresh

When I go out of my application, I just go to the background

blackberry.app.requestBackground ();

When I return in the application by clicking on its icon. I go to the same page as I was before.

I would like to automatically refresh this page.

How can I do?  The onload event does not work because the page is already loaded.

try to do in the onForeground case.

http://www.BlackBerry.com/developers/docs/widgetapi/Summary_app.html

Tags: BlackBerry Developers

Similar Questions

  • I'm recently back from Berlin where I accidentally left my iPhone 6. My friend tried to send it to me; However, he was returned by customs. Need advice on getting my iPhone 6 sent from Berlin to California.

    I'm recently back from Berlin where I accidentally left my iPhone 6. My friend tried to send it to me; However, he was returned by customs. Need advice on getting my iPhone of Berlin has been sent to California.

    You'll have to talk to the German customs and find out what their requirements are to send an iPhone.

  • Columns of folder: by default, how can return the first column 'Name' without having to move it manually every time?

    Something's happened awhile and when I create a folder which appears the first column is the column 'Date modified '. By default, how can return the first column 'Name' without having to move it manually every time?

    Hello

    I suggest you to visit these links and check if it helps:

    http://Windows.Microsoft.com/en-us/Windows-Vista/working-with-files-and-folders#section_4

    http://Windows.Microsoft.com/en-us/Windows-Vista/folders-frequently-asked-questions

    It will be useful.

  • Dynamic action: need to refresh the area when changing value radio button

    Hello

    I use Apex 4.2 worm.

    I need to apply a dynamic action with the refreshment area.

    I need to refresh the area when I change the value of the radio button.

    To do this, I created dynamic action on the changes and select the refresh option to update the region.

    But it does not.

    If you want to check, then see below for workspace:

    Workspace: APEX_ISSUE

    User name: [email protected]

    Password: kaushik1@34

    Please use Page no 5.

    Thank you

    Hi Maxence,

    CORINE wrote:

    Hi Kiran

    Thank you very much.

    It works very well.

    One more I need help, I need to scroll in the radio button because I'm showing type of booking successively from top to bottom.

    How can I set scrolling in the option box.

    Thank you

    What do you mean by scrolling in the option button?

    I applied a horizontal scrolling for the region containing radio buttons by using the suite in the attributes of the region:

    style="overflow-x:scroll;"
    

    If you apply the change just of vertical scrolling x to y.

    I hope this helps!

    Kind regards

    Kiran

  • How can I add change the color of background/first plan the Configurator?

    How can I add change the color of background/first plan the Configurator?

    No matter if you mean the Configurator application or a panel created with Configurator, you would probably have to post the question on the Configurator Forum.

    Configurator

  • I need help refreshing my Adobe Creative Cloud membership in Business Catalyst.

    I need help refreshing my Adobe Creative Cloud membership in Business Catalyst.

    Hello, I got a membership Adobe Muse and I changed it to full Adobe Creative cloud membership. The problem is when I connect to catalyst for business and try to push live a second site, he said as follows: Your Adobe Creative Cloud membership has reached its limit for hosted sites.

    I think that BusinessCatalyst did not recognize jet that I change my Adobe Creative Cloud membership and does not allow me access to 5 sites that are supposed to come with my adobe creating cloud.

    Please help me update my situation on BusinessCatalyst so I can post my 5 sites.

    Thank you

    Hello

    Please join our live support by case or by live chat because this may require climbing.  It seems that your account is not synchronized with your ID, adobe for any reason and will require further investigation to help solve.  We will need your ID and additional details so that we can correct this for you.

    - http://helpx.adobe.com/contact.html

    Thank you

    -Sidney

  • Need to refresh the Help Page.

    Hi all

    I have a request as well as 2 pages.

    1st page a radiogroup with sending (P1_RADIO). Function selection of the option button, a text field appears (P1_ID). The user must enter the value and press the "SUBMIT" button. I have an unconditional branch to page 1 itself. A branch in addition to page 2 when you press the button = SUBMIT.

    When submit button, it will take a user to page 2, where I wrote before the process of heading to export data to CSV (used Scotts custom export to csv method).

    Now, the new additional requiremnt is that, when the user enters the value in P1_ID and hits enter, the same features that hit button "SUBMIT" must take place. Any ideas on how to achieve this?

    I have already thought/tried this following:

    (1) text (which is when enter pressed does not - that I can not pass any request him and therefore does not give a branch on page 2).

    (2) I gave a hidden field PI_CAPTURE_ENTER and attributed the INPUT value, if P1_ID is not null. Then I wrote a conditional branch to Page 2, so: P1_CAPTURE_ENTER = "ENTER".

    In Page 2, I deleted the P1_ID after the execution of the csv process. This method works correctly.
    But the only problem is that even if the session state for a page 1 shows the cleared data, I need to refresh the page 1 manually, if I need to run another option in radiogroup. (If I do not update page 1, next time I hit radiogroup, P1_CAPTURE_ENTER will always be = 'ENTER' and redirects to the page 2).

    How can I overcome this?

    Or are there other ideas which I can achieve what is really necessary?


    Any help would be appreciated.

    Thank you
    Sumana

    Good,

    I just recreated this in my environment of dev and got it working according to you needs like that.

    1 radio group with sending (page 1 of unconditional branch)
    2 button submits as 'GO' (a conditional branch button being pressed go redirect to page 2)
    2 text field with this in the Form HTML element attributes

    onkeypress="if (event.keyCode==13){doSubmit('GO')}"
    

    He hit a conditional branch of the GO button and redirects to page 2.

    See you soon

    Ben
    http://www.munkyben.WordPress.com
    Don't forget to mark the answers useful or correct ;)

  • Need a query to return the first and last date for a rowset.

    Hello

    I have a query which can be simplified to the following data, if
    Assume that it is my dataset, with THE_VALUE of
    Sign (Anum) therefore,-1, 0 or 1.

    * (Sorry for crushed registration. "I can't understand this website's rich text formatting.) *

    THE_VALUE THE_DATE THE_MEMBER
    1 0 1 January 2007
    1 0 1 February 2007
    1 0 1 March 2007
    1. 1 April 1, 2007
    1 1 1 May 2007
    1 0 1 June 2007
    1. 1 July 1, 2007
    1. 1 August 1, 2007
    1 0 01 - sep - 2007
    2 0 1 January 2007
    2 1 February 1, 2007
    2 0 1 March 2007
    2. 1 April 1, 2007
    2 1 1 May 2007
    2 0 1 June 2007
    -2 1 1 July 2007
    2. 1 August 1, 2007
    2. 1 01-sep-2007
    3 0 1 January 2007
    3. 1 February 1, 2007
    3 0 1 March 2007
    3 0 1 April 2007
    3. 1 May 1, 2007
    3 0 1 June 2007
    3. 1 July 1, 2007
    3. 1 August 1, 2007
    3 0 01 - sep - 2007

    I need to get the lines with the THE_MEMBER, the values of the first and the last
    THE_DATE, where the value is - 1, and the date range is the last
    set of lines to the Member, with the same value of THE_VALUE.

    I tried the following to get the dates of first and last for a set
    consecutive months with the same value for the Member.

    SELECT the_member
    the_value
    the_date
    first_value (the_date)
    in the first_date (PARTITION the_member, ORDER BY the_member the_value, the_date)
    last_value (the_date)
    during the last_date (PARTITION the_member, ORDER BY the_member the_value, the_date)
    OF togola
    ORDER BY the_member
    the_date;

    At first, it seems to work, but then, when the return value
    an old value, FIRST_DATE will be the first of all the lines containing
    This value for the Member rather than the first of consecutive
    rows with this value for the Member. Apparently the partitioning
    occurs before the order.

    THE_MEMBER THE_VALUE THE_DATE FIRST DATE LAST DATE
    1 0 January 1, 2007 January 1, 2007 January 1, 2007
    1 0 1 February 2007 1 January 2007 1 February 2007
    1 0 1 March 2007 1 January 2007 March 1, 2007
    1. 1 April 1, 2007 April 1, 2007 April 1, 2007
    1. 1 May 1, 2007 April 1, 2007 may 1, 2007
    1-0 June 1, 2007 January 1, 2007 June 1, 2007
    1. 1 July 1, 2007 April 1, 2007 July 1, 2007
    1. 1 August 1, 2007 April 1, 2007 August 1, 2007
    1 0 01 - sep - 2007 1 January 2007 01-Sep-2007

    2 0 January 1, 2007 January 1, 2007 January 1, 2007
    2 1 1 February 2007 February 1, 2007 February 1, 2007
    2 0 1 March 2007 1 January 2007 March 1, 2007
    2. 1 April 1, 2007 February 1, 2007 April 1, 2007
    2 1 1 May 2007 February 1, 2007 may 1, 2007
    2-0 June 1, 2007 January 1, 2007 June 1, 2007
    -2 1 1 July 2007 February 1, 2007 July 1, 2007
    2. 1 August 1, 2007 February 1, 2007 August 1, 2007
    2. 1 01-sep-2007 1 February 2007 01-Sep-2007

    3 0 January 1, 2007 January 1, 2007 January 1, 2007
    3. 1 February 1, 2007 February 1, 2007 February 1, 2007
    3 0 1 March 2007 1 January 2007 March 1, 2007
    3 0 April 1, 2007 January 1, 2007 April 1, 2007
    3. 1 May 1, 2007 February 1, 2007 may 1, 2007
    3 0 June 1, 2007 January 1, 2007 June 1, 2007
    3. 1 July 1, 2007 February 1, 2007 July 1, 2007
    3. 1 August 1, 2007 February 1, 2007 August 1, 2007
    3 0 01 - sep - 2007 1 January 2007 01-Sep-2007

    That's what I need to get in the end.

    THE_MEMBER FIRST DAY DATE OF LAST
    July 2 1 2007-01 - Sep - 2007

    Any ideas would be really appreciated.

    Published by: user10700981 on December 17, 2008 13:57

    Hello

    We'll call the lines whose the_value =-1 'good' lines and lines with the_value! =-1 ranks of 'bad '.

    For each value of the_value, we need the first and last values of the_date where
    the last row in the group is good
    (b) the current line is good
    (c) there is a lot of lines from the current line to the end of the Group
    Condition (a) is just a special case of (c).
    Conditions (b) and (c) are similar: (b) if applied to the current line, (c) applies to all lines after him. They can easily be combined into a single test that counts the number of lines after the current line or bad.

    Which produces the results you requested of the sample data that you provided:

    WITH     count_bad     AS
    (
         SELECT     the_member
         ,     the_date
         ,     COUNT     ( CASE
                        WHEN  the_value != -1 -- assuming the_value is never NULL
                        THEN  1
                     END
                   ) OVER     ( PARTITION BY     the_member
                          ORDER BY     the_date     DESC
                        )     AS bad_cnt
         FROM     table_x
    )
    SELECT     the_member
    ,     MIN (the_date)     AS first_date
    ,     MAX (the_date)     AS last_date
    FROM     count_bad
    WHERE     bad_cnt     = 0
    GROUP BY     the_member
    ORDER BY     the_member;
    
  • SQL to return the first line

    Hello guys,.

    I use a sql to sort a single column of a specific sort order, I need just the first returned row based on ID (doc_no) here is an example:
    SQL> WITH 
      2  table_a AS (
      3  SELECT 1 doc_no, 'Description of 1' doc_desc FROM DUAL UNION ALL
      4  SELECT 2, 'Description of 2' FROM DUAL),
      5  table_b AS (
      6  SELECT 1 fk_doc_no, 'A' client_rev, TO_DATE ('10/10/2008', 'dd/mm/yyyy') due_date, 
      7   TO_DATE ('10/10/2008', 'dd/mm/yyyy') trans_date FROM DUAL UNION ALL
      8  SELECT 1, 'B', TO_DATE ('05/11/2008', 'dd/mm/yyyy'), TO_DATE ('05/11/2008', 'dd/mm/yyyy') FROM DUAL UNION ALL
      9  SELECT 1, '0', NULL, TO_DATE ('21/11/2008', 'dd/mm/yyyy') FROM DUAL UNION ALL
     10  SELECT 2, 'A', TO_DATE ('25/11/2008', 'dd/mm/yyyy'), TO_DATE ('25/11/2008', 'dd/mm/yyyy') FROM DUAL UNION ALL
     11  SELECT 2, '0', NULL, TO_DATE ('25/11/2008', 'dd/mm/yyyy') FROM DUAL)
     12  SELECT x.doc_no, x.doc_desc, y.last_client_rev, y.due_date, y.trans_date
     13  FROM (SELECT   fk_doc_no,
     14                 MAX (client_rev) KEEP
     15                   (DENSE_RANK LAST ORDER BY TRANSLATE(client_rev
     16                                                       ,'ABCD012' -- Desired sort order
     17                                                       ,'012ABCD' -- Actual sort order
     18                                                      )) AS last_client_rev,
     19                 due_date, trans_date
     20            FROM table_b
     21        GROUP BY fk_doc_no, due_date, trans_date) y,
     22       table_a x
     23  WHERE x.doc_no = y.fk_doc_no;
    The result is:
        DOC_NO DOC_DESC         L DUE_DATE TRANS_DA
    ---------- ---------------- - -------- --------
             1 Description of 1 0          21/11/08
             1 Description of 1 A 10/10/08 10/10/08
             1 Description of 1 B 05/11/08 05/11/08
             2 Description of 2 0          25/11/08
             2 Description of 2 A 25/11/08 25/11/08
    The required data will be:
        DOC_NO DOC_DESC         L DUE_DATE TRANS_DA
    ---------- ---------------- - -------- --------
             1 Description of 1 0          21/11/08
             2 Description of 2 0          25/11/08
    Can you help me with this?

    Best regards.
    BTW: I use Oracle 10 g

    Hello
    You don't need a subquery

    SELECT   fk_doc_no, doc_desc,
             MAX (client_rev)KEEP (DENSE_RANK LAST ORDER BY TRANSLATE
                                                  (client_rev,
                                                   'ABCD012' -- Desired sort order
                                                            ,
                                                   '012ABCD'  -- Actual sort order
                                                  )) AS last_client_rev,
             MAX (due_date)KEEP (DENSE_RANK LAST ORDER BY TRANSLATE
                                                  (client_rev,
                                                   'ABCD012' -- Desired sort order
                                                            ,
                                                   '012ABCD'  -- Actual sort order
                                                  ),
              trans_date) due_date,
             MAX (trans_date)KEEP (DENSE_RANK LAST ORDER BY TRANSLATE
                                                  (client_rev,
                                                   'ABCD012' -- Desired sort order
                                                            ,
                                                   '012ABCD'  -- Actual sort order
                                                  )) trans_date
        FROM table_a x, table_b y
       WHERE x.doc_no = y.fk_doc_no
    GROUP BY y.fk_doc_no, doc_desc
    
    SQL> WITH table_a AS
      2       (SELECT 1 doc_no, 'Description of 1' doc_desc
      3          FROM DUAL
      4        UNION ALL
      5        SELECT 2, 'Description of 2'
      6          FROM DUAL),
      7       table_b AS
      8       (SELECT 1 fk_doc_no, 'A' client_rev,
      9               TO_DATE ('10/10/2008', 'dd/mm/yyyy') due_date,
     10               TO_DATE ('10/10/2008', 'dd/mm/yyyy') trans_date
     11          FROM DUAL
     12        UNION ALL
     13        SELECT 1, 'B', TO_DATE ('05/11/2008', 'dd/mm/yyyy'),
     14               TO_DATE ('05/11/2008', 'dd/mm/yyyy')
     15          FROM DUAL
     16        UNION ALL
     17        SELECT 1, '0', NULL, TO_DATE ('21/11/2008', 'dd/mm/yyyy')
     18          FROM DUAL
     19        UNION ALL
     20        SELECT 2, 'A', TO_DATE ('25/11/2008', 'dd/mm/yyyy'),
     21               TO_DATE ('25/11/2008', 'dd/mm/yyyy')
     22          FROM DUAL
     23        UNION ALL
     24        SELECT 2, '0', NULL, TO_DATE ('25/11/2008', 'dd/mm/yyyy')
     25          FROM DUAL)
     26  SELECT   fk_doc_no, doc_desc,
     27           MAX (client_rev)KEEP (DENSE_RANK LAST ORDER BY TRANSLATE
     28                                                (client_rev,
     29                                                 'ABCD012' -- Desired sort order
     30                                                          ,
     31                                                 '012ABCD'  -- Actual sort order
     32                                                )) AS last_client_rev,
     33           MAX (due_date)KEEP (DENSE_RANK LAST ORDER BY TRANSLATE
     34                                                (client_rev,
     35                                                 'ABCD012' -- Desired sort order
     36                                                          ,
     37                                                 '012ABCD'  -- Actual sort order
     38                                                ),
     39            trans_date) due_date,
     40           MAX (trans_date)KEEP (DENSE_RANK LAST ORDER BY TRANSLATE
     41                                                (client_rev,
     42                                                 'ABCD012' -- Desired sort order
     43                                                          ,
     44                                                 '012ABCD'  -- Actual sort order
     45                                                )) trans_date
     46      FROM table_a x, table_b y
     47     WHERE x.doc_no = y.fk_doc_no
     48  GROUP BY y.fk_doc_no, doc_desc
     49  /
    
     FK_DOC_NO DOC_DESC         L DUE_DATE   TRANS_DATE
    ---------- ---------------- - ---------- ----------
             1 Description of 1 0            2008-11-21
             2 Description of 2 0            2008-11-25
    
    SQL> 
    

    Published by: Salim champion 2009-01-26 06:47

  • TreeSize Professional - using this tool for the first time - need help to run the report

    Using TreeSize Professional for the first time and I need search records to analyze documents containing invalid characters and path names that are too long.  We are moving the content in SharePoiint and SharePoint will not accept path names that are more than 250 characters and invalid characters.

    Does anyone know how to do this research?

    [Moved from the community centre of Participation]

    What is a TreeSize question or a question of SharePoint?

    Try SharePoint forums on the left side of

    https://social.technet.Microsoft.com/forums/en-us/home?category=SharePoint&filter=AllTypes&sort=lastpostdesc

    Don

  • Need to refresh or repair for Windows Vista family

    Is the some type of discount or repair that will restore the capabilities of the OS that inevitably get lost over time?

    Hi Gleasonton1,

    If your PC came with Windows pre-installed, then you should either have a "recovery disc" set, or else a recovery hard disk partition. To restore the system, the simplest method is to restore to factory conditions. Your PC will be as it was when you bought it first. To restore to factory conditions, you will need to check your manual/user guide for the PC. This will tell you how to proceed. A word of warning, if. Restore completely wipes your hard drive and you will lose everything. Your recovery system will then reinstall Windows from scratch. All programs that you have installed after you bought your PC will need to be re-installed, so I hope that you have the original CD/DVD and product keys. It is also a good idea to backup all your important files on a DVD so that you do not lose them also.

    If, however, you bought a copy of 'detail' of Windows, that is, you yourself bought the DVD in a store, then you can do a clean install. To do a clean install with a full copy of the 'detail' of Windows vista, see this link from my Web site:http://vistasupport.mvps.org/install_windows_vista.htm

    Copies installed at the factory, a new installation will wipe your hard drive completely, then make sure that you back up important files.

    This forum post is my own opinion and does not necessarily reflect the opinion or the opinion of Microsoft, its employees or other MVPS.

    John Barnett MVP: Windows XP Expert associated with: Windows Desktop Experience: www.winuser.co.uk | vistasupport.mvps.org | xphelpandsupport.mvps.org | www.silversurfer-Guide.com

  • need to change how pages are print last page first I need first page first

    It's my first HP and you don't know where the options are needing help. Want to make a change on the way in which the pages or printing need to get first page first

    I have a HP officejet 4620

  • "Why should first of all the" "Refresh GPS '?" "

    I did GPS (Midlet project) but I can't get the coordinate.

    But when I "refresh GPS" on option-advance option-gps, then I run my project, it works.

    Why should I "refresh GPS" first?

    y at - missing code on my project?

    my code as an example of blackberry.

    http://NA.BlackBerry.com/developers/resources/LBS_LAB.zip

    There shouldn't do it yourself, because an update is actually what you're doing in your code when you first:

    LocationProvider.getLocation (int timeout)

    See the documentation that describes the first use of this and ensure that it works properly and you have a timeout enough high.  In some documents that I saw, RIM suggests that the first fix can take up to 5 minutes.

  • Load the process returns a null value but on refresh the values of loads? !!

    Hi all

    With the help of apex 4.1.1 oc4j 11g Linux

    I'm building a feature that allows you to register by e-mail.

    Page 1

    The user enters a name email address ,& the last statement name Insert is executed

    Select count (*) in c_email - if 0 then the person does not exist and is permitted

    of sor_notification_person

    where sor_notification_person. EMAIL_ADDRESS = P_S_EMAIL_ADDRESS;

    If c_email = 0 then

    -Package.procedure send email and fact the insert

    SOR_NOTIFICATIONS_PKG. signup_person (P_S_EMAIL_ADDRESS = > P_S_EMAIL_ADDRESS,)

    P_S_FIRST_NAME = > P_S_FIRST_NAME,

    P_S_LAST_NAME = > P_S_LAST_NAME,

    P_S_CONFIRMED_EMAIL = > P_S_CONFIRMED_EMAIL,

    P_S_SESSION = > P_S_SESSION,

    P_S_APP_ID = > P_S_APP_ID,

    P_B_SUCCESS = > P_B_SUCCESS);

    Page 2

    Clicking or copying pasting the URL received in e-mail. I have on the loading process that verifies the checksum value in DB and fills in the data.

    declare

    number of CT ;

    P31_checksum(Varchar2) 30).

    E-mail varchar2 (90);

    What varchar2 (40);

    L_Name varchar2 (40);

    P31_TEST(Varchar2) 40).

    Start

    : P31_TEST := null;

    SELECT count ()*) in ct

    OF SOR_NOTIFICATION_PERSON

    SOR_NOTIFICATION_PERSON. checksum =:C;

    DBMS_OUTPUT. put_line ()ct);

    if CT > 0

    then

    SELECT SOR_NOTIFICATION_PERSON. email_address SOR_NOTIFICATION_PERSON. name, SOR_NOTIFICATION_PERSON. last_name in l_name what Email

    OF SOR_NOTIFICATION_PERSON

    SOR_NOTIFICATION_PERSON. checksum =:C;

    : P31_TEST := 'Y ';

    : P31_EMAIL_ADDRESS:= Email;

    : P31_FIRST_NAME := what;

    : P31_LAST_NAME:= l_name;

    else : P31_TEST := 'n';

    (- dbms_output. put_line () P31_TEST);

    end if;

    end ;

    Problem when I view the item hidden, I can see the value of checksum, but the P31_test is always null in load. When I hit refresh page P31_test valid and displays the value.

    The two elements are the value only when the value in session state is null.

    What could be the reason because it does not load even the process is defined as load before region / once per page visit...

    Thanks for your help.

    Okay - not sure then. On a new blank page I can have processes assign a value to the session state from the element and the element will have this value when the page is rendered (at least with this type of source). Work of dynamic actions. As I expect. I don't know what happens next 'unfair '.

    I'll only come back tomorrow, but here are a few tips:

    • create a workspace on apex.oracle.com and upload your page there. Share of the developer credentials and the name of workspace with us. In this way may inspect and do not need to do the back and forth until we reached something special we both lost from view.
    • When the page is loaded and you hit the session in the developer toolbar, what is the State of P31_TEST? Is it worth?
    • try to run the page in debug and see if you can spot something happens with the session state from P31_TEST - maybe you'll come across something
  • Return the first line with a non-null value in a column

    Hey there, gurus. Can someone give me a hand with this?

    I have a table with six columns: Class_ID, Course_ID, start_date, Last_Name, First_Name, company. When our students take a class and will fill in an evaluation form, they fill in the Class_ID Last_Name First_Name, and Company. The Course_ID and Start_Date are filled automatically based on the Class_ID.

    I am trying to generate a report that contains Class_ID, Course_ID and Start_Date, PLUS the value of the first not null in the column of company for a combination given to the three first columns. Here is my SQL that does not quite do the trick:

    Select distinct c.class_id, c.course_id, c.start_date, p.company
    class c, person p, student s
    where substr (c.course_id, 1, 3) = "OBI".
    and c.start_date > = SYSDATE-30
    and c.class_id = s.class_id
    and s.pid = p.pid
    order start_date, company, class_id, course_id

    At present, if in a given class, a student entered "CCCC" under the name of the company and another entry "Collin Co Comm Coll" and another between "Collin College", I would get three rows of this class when you use the SQL above. I want just one line. I don't really like which company names gets selected - one of them will be great for our needs. I just need to see a line for each class_id and single value that some students entered the area of the company. And I guess I have to say that if no student fills in the name of the company I need to see the value null, because I need to see the line no matter what.

    Looks like some sort of funky outer join or a coalesce, but it is beyond my ability to understand.

    Now I get this:
    During class 1234 SQL271 Date 22/07/2013 company XYZ Inc.
    Made up of class 1234 SQL271 Date 22/07/2013 company XYZ
    1234 SQL271 Date 22/07/2013 company XYZ, class

    What I want:
    Class 1234 SQL271 22/07/2013 Date course XYZ Inc. or one of the other 2

    Thanks in advance!
    select c.class_id, c.course_id, c.start_date, max(p.company) company
    from class c, person p, student s
    where substr(c.course_id,1,3) = 'OBI'
    and c.start_date >= SYSDATE-30
    and c.class_id = s.class_id
    and s.pid = p.pid
    group by c.class_id, c.course_id, c.start_date
    order by class_id, start_date, course_id
    

    Or if you want to list all businesses, you can use LISTAGG if you're on the latest version of ORACLE

Maybe you are looking for