I am trying to display a set of records and each record contains 2-3 fields

anyone pls help me

for (int i = 0; i < records.size; i++) {
    out.println(records[ i ].getField(1), records[ i ].getField(2),records[ i ].getField(3));
}

Similar Messages

  • I cannot send an email from my iPad 2? No problem receiving, why does this happen? Have tried the suggestions for setting up email and after doing the sync mail through iTunes receiving worked great but still cannot send? Any help would be great

    I cannot send an email from my iPad 2? No problem receiving, why does this happen? Have tried the suggestions for setting up email and after doing the sync mail through iTunes receiving worked great but still cannot send? Any help would be great!

    The fact that you can receive means you have a valid e mail address, and have established the connection to the incoming server, so all of that works.  Since the send does not work, that means your outgoing server is rejecting whatever settings you used formthe outgoing set up.  Try them again. 
    Google your particular isp, and ipad and many times you will find the exact settings needed for your isp.  Or tell us here, and soneone else may be on the same isp.  Some mail services need you to change a port, or have a unique name for the outgoing server.  
    Kep trying.

  • TS1559 I have tried resetting my network setting numerous times and my button is still greyed out?

    My wifi button has been greyed out ever since updating to iOS7, is there anyway to undo this update? I have tried resetting my network setting numerous times and it still doesnt work!! Any help?
    Thanks.

    You are correct. This is a very bad hardware error of the WiFi Chip on the Logic Board. The Chip malfunctioned or was previously damaged, but the initialization error was not detected until you Update/Restore the iPhone recently. The Problem was there, just not detected yet. The repair or replacement of the WiFi Chip is very difficult. Because Apple does not repair iPhone 4S, they only replace iPhone 4S, it costs $199.

  • Missing "Add Records" and "Refresh Records" options for data sets post domain re-import

    We recently had to re-install the Endeca server and as part of which had to export and re-import the data domains. Everything went fine except for the fact that newly re-imported data sets showcase just the "Manage Attributes" and the "Delete Data Set" options for an administrator login in. The previously available options to "Add Records" and "Refresh Records" beyond manage attributes/Delete Data Set are missing.
    Thoughts? Is there a security setting to enable these?

    So are you talking about the Add Records and Reload Records options for a data set in Studio?
    There are no separate security settings for these options. If a user is an application administrator (is able to edit the application), then they should have access to these options.
    The options are only available for data domains created using the Provisioning Service (created by uploading a file or from the JDBC or BI Server data source from the Data Source Library).
    I don't know if the process of exporting and re-importing the data domains (not sure how you did that) could somehow cause the data sets to no longer know that they were created by the Provisioning Service, in which case those options would not be enabled.

  • New 2012 Mac mini having screen resolution problem when I connect to either 27" LG or 22" Hannspree monitor. Tried mini display port to VGA/HDMI and HDMI to DVI-D cables... all same isse

    New 2012 Mac mini having issues in connecting to third party Monitors. Connected my mac mini to a 27" LG monitor. Text looks blurred. Tried connecting to the monitor using 3 options. 1) mini port to HDMI, then HDMI cable to LG monitor. 2) Mini port to VGA, then VGA cable to monitor 3) HDMI port on mini mac to DVI-D cable then DVI to DVI cable... In all cases text is not clear. Anyone has similar issues with latest mini mac. The monitor works fine when I connect to a windows 7 Samsung laptop. Any input is highly appreciated. Thanks in Advance

    Why do you use always 2 cables? There's a lot that can go wrong.
    1.) Hardware:
    - Use only one cable, best an HDMI->HDMI cable. It doesn't need to be an expensive one, they've proven to be no worse than those "esoteric", expensive ones.
    - Set the monitor to the HDMI input.
    - The modes you are listing are only "picture modes" changing color/brightness/contrast settings, not resolution or the likes, so pick the one you like best later, or enter your own settings under Custom.
    2.) OS X:
    - Usually the Mac detects the screen itself and chooses the best settings, so by default you need to do nothing than make a proper hardware connection to get a decent image.
    - However, there have been issues with new Mac Minis and particularly their HDMI ports. But reportedly they have been fixed with a software update. So, launch the App Store and check under Updates if there is one for you to install. If so, do it; otherwise you should be good to go.
    - If you require, go to System Preferences -> Displays. In the Dispaly tab, by default, "Best for display" should be selected, and that is typically true. If you want, select "Scaled" and 1920x1080, plus a frequency from the list (where higher is usually better, but just pick the one that works best for you). If you can't see a change to the better, you best go back to "Best for display".
    - If you are not happy with the colors on your screen, you'll find eventually more than one choice in the Color tab, though your particular screen should be in the list and its Display Profile should get you the best result. (Double-check picture modes on your display: if you're far off there, you won't make it much better with the Mac's settings).

  • Trying to upload/sync setting in photoshop and it uploads all the way to 469mb then I get an error message that it can't connect to CC

    I have been trying all day with the same results
    I was on live chat but we got disconnected and now they said I would have to wait till Monday.
    Really hoping to get this resolved. I just now restarted my computer and the upload sync is 268mb of 469mb

    it starts the install then a error msg comes up stating that Bonjour service failed to start. verify that i have sufficient priveleges to start system services.
    Sometimes we can get past that one by disabling the Bonjour Service prior to the install.
    In your Start menu, right-click Computer and select "Manage".
    Expand "Services & Applications".
    Open "Services". (Perhaps maximise the screen to better see what's going on.)
    Right-click the Bonjour Service and select "Properties".
    In the General tab, set the Startup type to "Disabled":
    ... and click OK.
    Restart the PC and try another iTunes install. Does it go through properly this time?

  • Trying to set up redirect and A Record to mask BC in URL

    We've gotten this far with our domain provider, but I'm not sure what to do next in BC. Our redirect is getting a No Start page.
    Our BC URL is: http://betheldualenrollment.businesscatalyst.com
    This is from our DNS provider:
    Ok, the A Record has been setup:
    dualenrollment.bethelu.edu -> 54.236.189.61
    Though that URL pulls up something about No Start Page? When that's fixed, we can change the redirect to:
    http://bethelu.edu/dualenrollment -> http://dualenrollment.bethelu.edu

    you need to connect the 2 routers using regular ports. example, from port 1 of main router going to port1 of befw11s4. do not configure the wan ip of befw11s4 anymore. it should only be set to "obtain an ip automatically".

  • Process one set of primary and secondary records at a time

    Need to read and analyze all service lines for every claim
    I wrote these Statements but they are in a never ending state despite of the fact of setting the claims range to one day.
    Thank you for any suggestions.
    Harry
    set serveroutput on
    declare
    v_claim1 varchar2(12):='080010000000';
    v_claim2 varchar2(12):='080019999999';
    fd_claim varchar2(12):=' ';
    mismatch number:=0;
    v_outfile UTL_FILE.FILE_TYPE;
    v_outfile_name constant varchar2(100):= 'prvmm.dat';
    v_outfile_dir constant varchar2(100):= 'AVMED_TEMPDATA';
    w_line varchar2(44);
    v_claim claim.claim_nbr%type;
    buffer varchar2(100);
    status integer;
    cursor get_clm is
    select claim_nbr from claim
    where claim_nbr between v_claim1 and v_claim2
    and rownum < 100
    order by claim_nbr;
    cursor get_srvline is
    select claim_nbr, serv_nbr, aff_nbr from service_x
    where claim_nbr = fd_claim;
    type serv_t is table of get_srvline%rowtype;
    serv serv_t;
    begin
    V_OUTFILE := UTL_FILE.FOPEN(V_OUTFILE_DIR,V_OUTFILE_NAME,'w');
    OPEN get_clm;
    --OPEN get_srvline;
    LOOP
    fetch get_clm into v_claim;
    DBMS_OUTPUT.PUT_LINE(v_claim);
    DBMS_OUTPUT.GET_LINE(buffer,status );
    DBMS_OUTPUT.PUT_LINE('Buffer: '||buffer);
    DBMS_OUTPUT.PUT_LINE('Status: '||to_char(status));
    --while get_clm%found
    --while rownum < 100
    LOOP
    fd_claim:= v_claim;
    OPEN get_srvline;
    fetch get_srvline bulk collect into serv;
    CLOSE get_srvline;
    mismatch:=0;
    FOR i in 1..serv.count LOOP
    if serv(1).aff_nbr <> serv(i).aff_nbr then mismatch:=1;
    end if;
    END loop;
    if mismatch = 1 then
    FOR i in 1..serv.count LOOP
    w_line:=serv(i).claim_nbr||serv(i).serv_nbr||serv(i).aff_nbr;
    UTL_FILE.PUT_LINE(V_OUTFILE,w_line);
    END LOOP;
    end if;
    END LOOP;
    --close get_srvline;
    close get_clm;
    UTL_FILE.FCLOSE(V_OUTFILE);
    DBMS_OUTPUT.PUT_LINE ( serv.count );
    END LOOP;
    END;

    Hi,
    Welcome to the forum!
    Here's your code with some whitspace added, to make it readable:
    set serveroutput on
    declare
         v_claim1 varchar2(12):='080010000000';
         v_claim2 varchar2(12):='080019999999';
         fd_claim varchar2(12):=' ';
         mismatch number:=0;
         v_outfile UTL_FILE.FILE_TYPE;
         v_outfile_name constant varchar2(100):= 'prvmm.dat';
         v_outfile_dir constant varchar2(100):= 'AVMED_TEMPDATA';
         w_line varchar2(44);
         v_claim claim.claim_nbr%type;
         buffer varchar2(100);
         status integer;
         cursor get_clm is
                select claim_nbr from claim
                where claim_nbr between v_claim1 and v_claim2
                and rownum < 100
                order by claim_nbr;
         cursor get_srvline is
                select claim_nbr, serv_nbr, aff_nbr from service_x
                where claim_nbr = fd_claim;
         type serv_t is table of get_srvline%rowtype;
         serv serv_t;
    begin
         V_OUTFILE := UTL_FILE.FOPEN(V_OUTFILE_DIR,V_OUTFILE_NAME,'w');
         OPEN get_clm;
         --OPEN get_srvline;
         LOOP
              fetch get_clm into v_claim;
              DBMS_OUTPUT.PUT_LINE(v_claim);
              DBMS_OUTPUT.GET_LINE(buffer,status );
              DBMS_OUTPUT.PUT_LINE('Buffer: '||buffer);
              DBMS_OUTPUT.PUT_LINE('Status: '||to_char(status));
              --while get_clm%found
              --while rownum < 100
              LOOP
                   fd_claim:= v_claim;
                   OPEN get_srvline;
                   fetch get_srvline bulk collect into serv;
                   CLOSE get_srvline;
                   mismatch:=0;
                   FOR i in 1..serv.count LOOP
                           if serv(1).aff_nbr <> serv(i).aff_nbr then mismatch:=1;
                        end if;
                   END loop;
                   if mismatch = 1 then
                           FOR i in 1..serv.count LOOP
                                w_line:=serv(i).claim_nbr||serv(i).serv_nbr||serv(i).aff_nbr;
                             UTL_FILE.PUT_LINE(V_OUTFILE,w_line);
                        END LOOP;
                   end if;
              END LOOP;
              --close get_srvline;
              close get_clm;
              UTL_FILE.FCLOSE(V_OUTFILE);
              DBMS_OUTPUT.PUT_LINE ( serv.count );
         END LOOP;
    END;The reason why it won't stop is that neither of the two outer LOOPs has any way of stopping.
    If you want to fetch one row from a cursor in a loop, and contine the loop as long as you keep getting rows, then use a cursor FOR loop, like this
    FOR  v_claim  IN get_clm
    LOOP
            DBMS_OUTPUT.PUT_LINE(v_claim);
    END LOOP;You do not need OPEN, FETCH or CLOSE statements when using a cursor FOR loop.
    If you do want to use OPEN, FETCH and CLOSE, then the loop that FETCHes the data should test for %NOTFOUND, and EXIT when it is true, like this:
    OPEN  get_clm
    LOOP
            FETCH  get_clm  INTO  c_claim
            EXIT WHEN get_clm%NOTFOUND;
            DBMS_OUTPUT.PUT_LINE(v_claim);
    END LOOP;
    CLOSE  get_clm;Always format your code to show the range of LOOPs and IF statements.
    When posting on this site, type these 6 characters:
    &#123;code&#125;
    (small letters only, inside curly brackets) before and after formatted text, to preserve spacing.

  • Setting save directory and filename based on fillable form fields.

    Hello,
    I'm new to .pdf development in Acrobat. I'm trying to create a form which allows users to fill in data, then save a copy of the form to a directory and file name which will be based upon several of the fields in the document. Is this method of saving possible? I've tried a script but can't seem to make the process work.
    Thanks for the help!

    It's possible, but the code that does the actual save (using the doc.saveAs JavaScript method) needs to be in a folder-level JavaScript file and further in a trusted function and app.beginPriv/app.endPriv block:
    http://acrobatusers.com/tutorials/how-save-pdf-acrobat-javascript
    http://livedocs.adobe.com/acrobat_sdk/11/Acrobat11_HTMLHelp/JS_API_AcroJS.89.173.html
    or in a certified document that the user chooses to trust to execute privileged code. If you've done either of these, can you post the code you're using?

  • I'm trying to burn a  CD from Elements11 and each time I do,m my DVD player rejects the media.

    I've spent 3 days putting together a tribute to my father for his funeral tomorrow and I'm trying to create a CD of pictures with music. It plays fine on my computer but when I burn a CD (following the instructions) my DVD player refuses to play. I've now got 5 junk CD's. I tried a blank DVD but Elements 11 does recognize it, it wants a CD-R. any suggestions?

    I have Windows 7 on a Dell.  Open and play iTunes in the compatability mode and use Windows XP (service pack 2).  Disregard any messsages to disable the compability mode.  This has worked for me.  I have also reinstalled iTunes and played with burn speeds etc.  These ideas did not work.  Compatability mode works.

  • Table cntrol field to be display/Change only For each record

    Hi all,
    How to set a particular Field in table control either as display only or
    change only for <b>each row</b> based on certain condition.I need to set this property for each record in table control not for the entire coloumn?.I know the procedure for setting up an entire coloumn in table control either as diplay or change only using <b>Loop at screen</b> statement.
    Conditions:
    If Material is batch managed:
    itab-batch field has to be <b>Display only</b> mode.
    if material is not batch managed:
    itab-batch field has to be <b>change mode</b>.
    <b>O/p of Table Control :</b>
    Material     Batch
    1000         Display only
    2000        Change only
    8000        Change only
    3500        Display only
    3600        Display only

    Hi Ravi,
              Thanks for your reply.I have put the code as u said. It is modifying the whole coloumn insted of  modifying Current row of the coloumn.
    I have tried to modify the screen property using  Table control attributes (TC-COLS).The following commented code is that logic.Even that also doing the same thing.Can yoy please tell me how to do it.
    MODULE tc_get_lines OUTPUT.
    LOOP AT SCREEN.
        IF screen-name = 'X_ZPINV-CHARG'.
          IF fg_batch = ' '.
            screen-input = 0.
          ELSE.
            screen-input = 1.
          ENDIF.
        ENDIF.
        MODIFY SCREEN.
      ENDLOOP.
    LOOP AT tc-cols INTO tc_wa
      WHERE screen-name = 'X_ZPINV-CHARG'.
       IF x_zpinv-matnr IS NOT INITIAL.
         CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
           EXPORTING
             input  = x_zpinv-matnr
           IMPORTING
             output = v_matnr.
         SELECT SINGLE * FROM marc WHERE matnr = v_matnr
         AND werks = w_plant.
         IF marc-xchar IS INITIAL.
           tc_wa-screen-input = 0.
         ELSE.
           tc_wa-screen-input = 1.
         ENDIF.
         MODIFY tc-cols FROM tc_wa INDEX sy-tabix."    transporting screen-input
       ENDIF.
    ENDLOOP.
    ENDMODULE.                    "TC_GET_LINES OUTPUT

  • On iMac running OS 10.6.7, tried ver 4 3x's and each time had to revert back to older version since can't import bookmarks, etc. Now I can't revert back to older version! Help!

    Using iMac running OS 10.6.7. I've tried Beta ver 4 before (2x's) and each time I had to revert to older version since I was unable to import all my bookmarks, etc. after following all the right steps. I have them saved as HTML and json files. Neither works in ver 4 now. I am stuck. I've Googled fixes, but now need your help to resolve this incessant problem.

    A possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    * http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    Make sure that you not run Firefox in permanent [[Private Browsing]] mode.
    * You enter Private Browsing mode if you select: Firefox > Preferences > Privacy > History: Firefox will: "Never Remember History"
    * To see all History and Cookie settings, choose: Firefox > Preferences > Privacy, choose the setting <b>Firefox will: Use custom settings for history</b>
    * Uncheck: [ ] "Permanent Private Browsing mode"

  • How to display records from a query into non-database field

    Hi
    I a have a problem:
    I have a query with many tables and 6 column(select a,b,c,d,e,f from x,y,z,t,s,g where conditions) and I use 3 parameters.
    I create 3 parameters :datai,:dataf and :partener and a button with a trigger when button is pressed.
    Then a create a manualy block with six field non-database a1,b1,c1,d1,e1,f1.
    Now I want to display all the records from my query into a1,b1,c1,d1,e1,f1 where a1=a,b1=b,etc. and all the records (if I have 20 record, it will display 20 records in non-database field) when I press the button.
    How I made:
    I create a cursor with query then
    begin open cursor
    loop
    fetch cursor into :a1,:b1,:c1,:d1,:e1,:f1;
    end loop;
    close cursor;
    end;
    It display one record in a1,b1,c1 only and it have to display 100 records and are date for all the fields.
    Can somebody help me in this problem?
    Thanks.
    Edited by: 928437 on Oct 1, 2012 2:55 AM

    Creating a view, and querying that into a database block is an excellent solution.
    To use the non-database block:
    You're missing the all-important Next_Record; command.
    <pre> Begin
    Go_block('X'); -- block X is the non-database block
    Clear_Block(No_Validate);
    open cursor X1;
    loop
    If :System.Record_status != 'NEW' then
    Next_Record;
    End if;
    fetch X1 into :a1,:b1,:c1,:d1,:e1,:f1;
    Exit when X1%NOTFOUND;
    end loop;
    close X1;
    end;</pre>

  • HT204291 My iPad 4 does not show up on my TV screen when in AirPlay mirroring mode using WiFi.  The iPad displays AirPlay set to TV with the Mirroring On (green).  My iPad IOS software is 8.2 and my Apple TV software is at 7.1.  The TV displays the Apple

    My iPad 4 does not show up on my TV screen when in AirPlay mirroring mode using WiFi.  The iPad displays AirPlay set to TV with the Mirroring On (green).
    My iPad IOS software is 8.2 and my Apple TV software is at 7.1.  The TV displays the Apple Menu.  The “Settings” does however displays the General menu allowing me to see:
    Apple software:          7.1 (7003)
    Apple TV:                   Model No. A1464, Part No. MD199B/A
    Signal Strength shows 5 circles.
    It does not display the iPad screen but when I use the BT Sport App I can hear the sound but there is no video.  I have searched the internet for a solution to no avail. The problem first arose when the IOS was at 8.1+ but it worked correctly briefly when I updated to IOS 8.2.  Can you help please?

    Welcome to the Apple Community.
    Try the following steps, check whether things are working after each step where appropriate, before trying the next.
    Check AirPlay is turned on on the Apple TV (turn it off and on if it already is)
    Check that both devices are on the same network (Settings > Wifi, on the mobile device and Settings > General > Network, on the Apple TV).
    Restart the Apple TV (Settings > General > Restart).
    Restart the Apple TV by removing ALL the cables for 30 seconds.
    Restart your router. (Also try removing it’s power cord for at least 30 seconds)
    Restart your mobile device.
    If you are still having problems, the following article(s) may help you.
    Troubleshooting AirPlay
    Troubleshooting Wi-Fi networks and connections
    Recommended Wi-Fi settings
    Wifi Diagnostic Software (for Mac users)
    You may also find some help on this page, where I’ve collected some of the more unusual solutions to network issues.
    When making adjustments to your network for better optimisation, you may find some of the points mentioned on this page helpful.

  • Apple Mail with defunct smtp trying to display 800 alerts or so

    Apple Mail, after upgrading to Maverick, now tries to display > 800 alerts for automatic mail forwards that it apparently now cannot send because of some issue I probably have to troubleshoot. It deadlocks to that behavior, too, so each time I force quit out and try to re-open is like rewind/ play.
    The problem must be that Apple Mail seems to have an entirely un-interruptable sequence of actions that the user has entirely no control over whatsoever. It first will open the mail and mailboxes. And even though I can try to be fast and change settings to "try to send later" instead of "present list with SMTP options", the step of " trying to understand what user means by changing that setting" has not been programmed yet.
    So with great irreverence, I can do whatever I want and Apple Mail will always end up trying to pull up >800 single little alert windows telling me the most obvious, which is, that it cannot send a message, .
    It would have been enough to present exactly one error saying "cannot send >800 message". Or to start with a preferences dialog without going into uninterruptable auto gah gah.
    Where would I find a text file with Apple Mail preferences that I can edit to change the behavior of the program? Deleting ~ / Library / Mail / ... / Drafts did not cause any effect as all drafts and subsequent errors remained there stubbornly but reliably.

    Apple Mail crashes when I try to print after installing Mavericks...

Maybe you are looking for

  • Priority of LMS in HP-UX

    Dear all, I want to know what should be normally the priority of GCS's LMSn in HP-UX? From RAC FAQs on metalink, it says: LMS processes should be running in RT by default since 10.2, so there's NO need to renice them, or otherwise mess with them. On

  • Capitalization column in drill down report

    Hi, I have a requirement to make a column in IM drill down report which will show values of capitalized investments (WBS and orders) assigned to the investment program.  Do you have an idea how to do it? Thanks in advance! DD

  • SATA RAID Controller under Solaris 10

    I want to set up my Sun Ultra AXMP on a SATA RAID5, but i did not find yet a controller wich is supported by Solaris 10. I already looked for support on the Adaptec 2410SA and all other Adaptec Controlleres (searched here: http://www.sun.com/bigadmin

  • How do I Show date and time when I hover over clip like in iMovie

    How do I get FCPX 10.6 to show date and time when I hover over a clip? I can so it in I movie and as I move over my clips the date/time is shown. I need it for that specific point in the clip not just the record start time.

  • WL-10.3.5 Error Creating Wildcard Hostname Verifier for Facebook OAuth

    Hi, I am writing an application that uses OAuth for 3rd party login. However, Weblogic 10.3.5 does not by default accept the way Facebook uses a wildcard in their SSL Certificate. Caused By: javax.net.ssl.SSLKeyException: [Security:090504]Certificate