Size Limit of Result Set Exceeded in Advanced Analysis for Excel

I am getting a "Size Limit of Result Set Exceeded" error when performing a drill-down in Advanced Analysis for Excel.  Is the limit 65,000 rows in Excel?  I was able to get a drill-down of 39,000 rows to work, but failed when I exceeded 60,000 rows.
I am using Advanced Analysis for Excel v1 SP5 and Excel 2007.
Thanks.

Hi Everyone;
I am running advanced analysis reports on HANA as datasource and I am getting the message Size Limit of Result Set Exceeded whenever I have a larger output. I have noticed that in the admin guide and in other SCN posts about this setting in Windows Registry:
[HKEY_LOCAL_MACHINE\Software\SAP\AdvancedAnalysis\Settings\DataSource]
"ShowBicsSample"="True"
"ResultSetSizeLimit"="-1"
But I am having hard time finding this setting in my windows registry; can someone help me understand why I don't have it in my registry? and how to find it and change this setting?
FYI...I am using Office 2010.

Similar Messages

  • Advanced Analysis for Microsoft Excel - Addin Component does not Appear

    Hy at all, i have this problem:
    i save a workbook on infoview and when i open it , the Addin Advanced Analysis for Microsoft Excel doesn't appear.
    This scenario occurs despite the value "3" on registry of this setting: HKEY_CURRENT_USER\Software\Microsoft\Office\Excel\Addins\SBOP.AdvancedAnalysis.Addin.1.
    Thank's.
    Regards.
    Andrea M.

    Hi there,
    I still got the problem under BO 4.0 launchpad.
    Has anyone a solution for that. I use AO 1.2.
    Thanks.
    Regards,
    Heiko

  • BO 4.0 Advanced Analysis for OLAP - The MDAS service encountered an error.

    Hi guru's,
    We are running BO 4.0 SP02 Patch 11 with SAP BW 7 and experiencing the following error with Advanced Analysis for OLAP:
    "Analysis edition for OLAP
    The MDAS service encountered an error."
    After you click show details:
    "com.crystaldecisions.thirdparty.org.omg.CORBA.MARSHAL  minor code: 0x0  completed: No"
    I have researched into this and found forums such as:
    http://forums.sdn.sap.com/thread.jspa?threadID=2053481
    SAP KB 1560100 - BI4.0 Advanced Analysis Web problem: The MDAS Service encountered an error
    SAP KB 1661163 - An error is generated when selecting a query or cube in Analysis for OLAP: Error 15
    However, none of these have helped our situation too much.
    We have rebuilt the windows server 2008 R2 recently, hence the process we followed was a fresh install of BO 4.0 SP02 platform & tools, and then patch 11 on top of these.
    Crystal, WEBI's (using the same BICS connections as the AA's) and Dashboards are all working as per expected.
    The errors are for every AA including ones with only 2 variable selections (light queries) to ones with many more. Hence it is platform wide for Advanced Analysis.
    I have also tried creating new AA using existing BICS, new BICS existing AA, new BICS new AA all with no luck.
    We have also created new Adaptive Processing Servers with only the MDAS as a common service, turned on tracing etc but nothing springs to us as to what is going wrong.
    Any ideas would be greatly appreciated?
    Thanks all,

    Hi All,
    After conversing with SAP support technicians we have found what is causing this issue.
    On the windows servers we have the following installed locally:
    - BO platform 4.0 SP02
    - BO platform 4.0 SP02 patch 11
    - BO client tools 4.0 SP02
    - BO client tools 4.0 SP02 patch 11
    - Crystal reports 2011 SP02
    - Crystal reports 2011 SP02 patch 11
    - Crystal reports for Ent SP02
    - Crystal reports for Ent SP02 patch 11
    It seems that the crystal reports 2011 or cr for Ent was causing an issue in the .WAR files that BOE uses to run Advanced Analysis for OLAP.
    After uninstalling the two crystal products and removing any left over cr files in program files on the server, AA for OLAP works successfully in our environment.
    The other point after this was i stopped the tomcat and SIA, i renamed the BOE folder under <install dir>\SAP BO4.0\Tomcat6\webapps and restarted the tomcat and then the SIA. In 4.0 when the tomcat is started again it will go and recreate the BOE folder from the BO directories effectively recreating the apps .WAR files under the webapps\BOE folder.
    SAP will hopefully document this issue for other clients.
    Cheers,

  • YTD calculation from BEx is not working in Advance Analysis for OLAP/OR Office

    I have AA for OLAP based on BEx. There are YTD calculation in BEx Designer: User enters Period in variable, and in user exits, the Period Range is populated as "1 ~ UserEnteredValue" in second variable. In BEx, YTD is calculated based on the Restrictive KF for the period range, calculated in User Exit. This is working fine in BEx Analyzer, however in Advance Analysis (for OLAP OR in Ofice), the YTD value is not coming up they way it is in BEx Analyzer...
    Anybody has any clue, why??
    Thanking all of you in advance  

    Hello Sharma
    If something is working for BEx Analyzer but not for Analysis OLAP or Analysis Office then this typically (but not always) indicates an issue with the BICS (BI Consumer Services) component.
    I would suggest you contact support about this so the appropriate logs can be captured and the issue investigated by the BICS team.
    Regards
    Ian

  • Advance Analysis for Microsoft Excel  How end user will use this  ?

    Hi ,
    I am working in Advance Analysis for Microsoft Excel Reporting tool,  Now i am working in my system , how the end user will interact with this report ?
    Is there any link is there , we need to send them  or they will also open this from the system only ??

    Hello Guru BI,
    Advance Analysis is only for micorsoft excel. You can check with your contact at SAP (TQM / Sales Representative) to check other solutions to have analysis on Web.
    For the Analysis Office the only way to have informations at the web is like described at the latest reply.
    For new solutions on web you can check the following links that have a brief describe of the web solutions:
    http://www.sap.com/solutions/sapbusinessobjects/large/business-intelligence/reporting-analysis/analysis-olap/index.epx
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e07439f8-ba1c-2e10-98a8-f8d552eb31ff?quicklink=index&overridelayout=true
    http://download.sap.com/download.epd?context=2D1D4DC34C0587B40660C12B4FD45C056D1BBE530E157D0EB6F2D54F126F520566AE5C5190940F14133BABCD0BF7DA7DCA12BBEC6228CDB1
    Thanks
    Diego Ferrary

  • Loading the different result sets in the same sequence for the target table

    Dear all,
    I have 5 tables say A,B,C,D as my source and i made 3 joins P,Q,R .the result sets of these 3 joins are loading into a target table X but with 3 different targets with same table name.
    I created one sequence say Y as my target table has primary key and mapped to three different targets for the same target table which i need to load.
    But after deployed and executed successfully ,i am able to load the data from three join result sets with differeent sequence numbers.
    I am looking to load data like this.
    If First Result set P has 10 Records,SEcond Result Set Q Has 20 and the third result set has 30 records then while loading data into first target it creates the seq for the 10 records from 1..10 and while loading the data for second result set ,it creates the sequence from 11 ...20 and while loading the third target with the third result set it creates the sequence from 21 ----30.
    But i am looking to load the three result sets in the sequence 1to 10 but not like creating fresh sequence for each result set.
    how can we achieve this in owb?
    any solution for this will be appreciated.
    thank you
    kumar

    My design is like following
    SRC1
    ---->Join1--------------------------->Target1( Table X)<-----Seq1
    SRC2
    SRC3
    ----> Join2----------->Target2(Table X)<----Seq1
    SRC4
    -----> Join3 -------> Target3(Table X)<-----Seq1
    SRC5
    Here the three 3 targets are for the same Table X as well sequence is same i.e seq1
    If the First Join has 10 rows ,Seq1 generates sequence in 1 to 10 while loading target1
    But while loading second target,Same Seq1 is generating new sequence from 11 but i am looking to load target2 and target 3 starting from sequence 1 but not from 11 or so.
    As per your comments :
    you want to load 3 sources to one target with same sequence numbers?
    yes
    Are you doing match from the other two sources on first source by id provided by sequence (since this is the primary key of the table)?
    No
    can you please tell me how to approach for this?
    Thank You
    Kumar

  • Advanced Analysis for Office 1.1 - default workbook location

    Is there a registry setting for the default workbook location?  We are deploying Analysis for Office via Citrix and would like all users to use the same default workbook.  By default, that setting is pointing to a location specific to the current user.
    Anyone else deploying this way?
    Thanks.

    This setting is not managed by a registry key but by a file setting. You will find an xml file in the following folder after installing Analysis for Office:
    C:\Users\<user>\AppData\Roaming\SAP AG\SAP BusinessObjects Advanced Analysis\Settings\Document
    So to publish a global workbook template you would have to - as part of your rollout - push a global workbook template (excel file) into the users install directory + push an updated version of the xml file from the above file directory into the users Appdata... folder refering to that workbook template file.
    Best regards,
    Morten Kjeldsted

  • BOBJ Advanced Analysis for Office patch SP10

    I imported the analysis product into my existing SAP Installation Server.  When I import patch 5 or patch 8, no problem.  But when I import patch 10 and then check server, it says I'm missing 12 files.  If I try to install to a workstation I see the same errors (11 files).  If you just apply patch 10 directly to a workstation without using the installation server, it gives no errors.  It seems that the install script for the server is just wrong.  Some of the files it is looking for are actually missing.  Others are there in the AAO folder, but they're not in the subfolders that it's looking in.  Has anyone else seen this and is there a solution?  Thanks.
    It's not pretty, but here's a paste of the text from the sapsetuperrors xml file.
    Action-Type State Error Source Destination Error-Code
    File Install The system cannot find the file specified.  SAP\AdmInstPt\AAO\pluginwrapper.dll C:\Program Files\SAP BusinessObjects\Advanced Analysis\pluginwrapper.dll -2147024894
    File Install The system cannot find the file specified.  SAP\AdmInstPt\AAO\DSWS_31\BusinessObjects.DSWS.BIPlatform.dll C:\Program Files\SAP BusinessObjects\Advanced Analysis\DSWS_31\BusinessObjects.DSWS.BIPlatform.dll -2147024894
    File Install The system cannot find the file specified.  SAP\AdmInstPt\AAO\DSWS_31\BusinessObjects.DSWS.dll C:\Program Files\SAP BusinessObjects\Advanced Analysis\DSWS_31\BusinessObjects.DSWS.dll -2147024894
    File Install The system cannot find the file specified.  SAP\AdmInstPt\AAO\DSWS_31\BusinessObjects.DSWS.Session.dll C:\Program Files\SAP BusinessObjects\Advanced Analysis\DSWS_31\BusinessObjects.DSWS.Session.dll -2147024894
    File Install The system cannot find the file specified.  SAP\AdmInstPt\AAO\DSWS_40\BusinessObjects.DSWS.BIPlatform.dll C:\Program Files\SAP BusinessObjects\Advanced Analysis\DSWS_40\BusinessObjects.DSWS.BIPlatform.dll -2147024894
    File Install The system cannot find the file specified.  SAP\AdmInstPt\AAO\DSWS_40\BusinessObjects.DSWS.dll C:\Program Files\SAP BusinessObjects\Advanced Analysis\DSWS_40\BusinessObjects.DSWS.dll -2147024894
    File Install The system cannot find the file specified.  SAP\AdmInstPt\AAO\DSWS_40\BusinessObjects.DSWS.Session.dll C:\Program Files\SAP BusinessObjects\Advanced Analysis\DSWS_40\BusinessObjects.DSWS.Session.dll -2147024894
    File Install The system cannot find the file specified.  SAP\AdmInstPt\AAO\DSWS_40\pluginwrapper.dll C:\Program Files\SAP BusinessObjects\Advanced Analysis\DSWS_40\pluginwrapper.dll -2147024894
    File Install The system cannot find the file specified.  SAP\AdmInstPt\AAO\BiDSWS_31.dll C:\Program Files\SAP BusinessObjects\Advanced Analysis\BiDSWS_31.dll -2147024894
    File Install The system cannot find the file specified.  SAP\AdmInstPt\AAO\BiDSWS_40.dll C:\Program Files\SAP BusinessObjects\Advanced Analysis\BiDSWS_40.dll -2147024894
    File Install The system cannot find the file specified.  SAP\AdmInstPt\AAO\Syncfusion.GridHelperClasses.Windows.dll C:\Program Files\SAP BusinessObjects\Advanced Analysis\Syncfusion.GridHelperClasses.Windows.dll -2147024894

    Hello Jurg,
    First, try to uninstall what you have and restart the workstation installed. Download the latest version of the Analysis Office, for the 1.0 is the SP12 and for the 1.1 is the SP4. After install it and check how it will work.
    Pay attention if your are trying to install the 1.1. We have 2 files, the 32 and 64 bit.
    Thanks
    Diego Ferrary

  • Need workflow for Advanced Analysis for Office for Sizing

    Hi,
    I am in the process of sizing for BO solution .
    Part of that exercise is to find out how much cpu and memory are required for AAO?
    So i thought trace the AAO workflow and understand which BO services/servers it requires.
    If anyone any idea about it workflow, please share.
    Thanks,
    Srikar

    Hi Srikar,
    Analysis for office goes directly to SAP BW / SAP HANA for data retrieval, so there is no need to consider it as part of your sizing exercise.
    There is a note though about client Hardware and Software requirements:
    1466118 - Hardware & Software requirements for Advanced Analysis
    The only exception here is the new scheduling capability of Analysis for Office in the BI Platform, in that case the Adaptive Job Server is used.
    Best regards,
    Victor

  • Size limit of column content

    Can anyone tell me if there is a limit on the size of a data item that you can retrieve into a report column. I have in the back of my mind that there is a limit of either 30k or 32k but I can't find it documented anywhere.
    Many thanks.
    Fintan.

    Hi Everyone;
    I am running advanced analysis reports on HANA as datasource and I am getting the message Size Limit of Result Set Exceeded whenever I have a larger output. I have noticed that in the admin guide and in other SCN posts about this setting in Windows Registry:
    [HKEY_LOCAL_MACHINE\Software\SAP\AdvancedAnalysis\Settings\DataSource]
    "ShowBicsSample"="True"
    "ResultSetSizeLimit"="-1"
    But I am having hard time finding this setting in my windows registry; can someone help me understand why I don't have it in my registry? and how to find it and change this setting?
    FYI...I am using Office 2010.

  • Messaging server size limit

    Hallo
    As I see, I have common problem among the Sun Messaging Server administrators. I have whole system distributed on several virtual solaris machines and some days ago emerged message size problem. I noticed it in relation with incoming mail. When I create new user, he or she can't get larger mail then 300K. Sender get will known message:
    This message is larger than the current system limit or the recipient's mailbox is full. Create a shorter message body or remove attachments and try sending it again.
    <server.domain.com #5.3.4 smtp;552 5.3.4 a message size of 302 kilobytes exceeds the size limit of 300 kilobytes computed for this transaction>
    Interesting thin is, that this problem arised with no correlation with other actions. I noticed this problem with new users before, but i could successful manage it with different service packs. Now this method with new users, this method doesn't work! Old users normally recieve messages bigger then 300k, as before.
    I tried to set default setting blocklimit 2000 in imta.cnf, but I didn't succeed.
    I know, that size limit can be set on different places, but is there a simple way, to set sending and recieving message size unlimited?
    Messaging server version is:
    Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009)*
    libimta.so 7u2-7.02 64bit (built 03:03:02, Apr 16 2009)*
    Using /opt/sun/comms/messaging64/config/imta.cnf (compiled)*
    SunOS mailstore 5.10 Generic_138888-01 sun4v sparc SUNW,SPARC-Enterprise-T5120*
    Regards
    Matej

    For the sake of correctness, the attribute name in LDAP is mailMsgMaxBlocks.
    I also stumbled upon this - the values like 300 blocks or 7000 blocks are set in (sample) service packages but are not advertised in Delegated Admin web-interface. When packages are assigned, these values are copied into each user's LDAP entry as well, and can not be seen or changed in web-interface.
    And then mail users get "weird" errors like:
    550 5.2.3 user limit of 7000 kilobytes on message size exceeded: [email protected]
    or
    550 5.2.3 user limit of 300 kilobytes on message size exceeded: [email protected]
    resulting in
    <[email protected]>... User unknown
    or
    552 5.3.4 a message size of 7003 kilobytes exceeds the size limit of 7000 kilobytes computed for this transaction
    or
    552 5.3.4 a message size of 302 kilobytes exceeds the size limit of 300 kilobytes computed for this transaction
    resulting in
    Service unavailable
    I guess there are other similar error messages, but these two are most common.
    I hope other people googling up the problem would get to this post too ;)
    One solution is to replace the predefined service packages with several of your own, i.e. ldapadd entries like these (fix the dc=domain,dc=com part to suit your deployment, and both cn parts if you rename them), and restart the DA webcontainer:
    dn: cn=Mail-Calendar - Unlimited,o=mailcalendaruser,o=cosTemplates,dc=domain,dc=com
    cn: Mail-Calendar - Unlimited
    daservicetype: calendar user
    daservicetype: mail user
    mailallowedserviceaccess: imaps:ALL$pops:ALL$+smtps:ALL$+https:ALL$+pop:ALL$+imap:ALL$+smtp:ALL$+http:ALL
    mailmsgmaxblocks: 20480
    mailmsgquota: -1
    mailquota: -1
    objectclass: top
    objectclass: LDAPsubentry
    objectclass: costemplate
    objectclass: extensibleobject
    dn: cn=Mail-Calendar - 100M,o=mailcalendaruser,o=cosTemplates,dc=domain,dc=com
    cn: Mail-Calendar - 100M
    daservicetype: calendar user
    daservicetype: mail user
    mailallowedserviceaccess: imaps:ALL$pops:ALL$+smtps:ALL$+https:ALL$+pop:ALL$+imap:ALL$+smtp:ALL$+http:ALL
    mailmsgmaxblocks: 20480
    mailmsgquota: 10000
    mailquota: 104857600
    objectclass: top
    objectclass: LDAPsubentry
    objectclass: costemplate
    objectclass: extensibleobject
    dn: cn=Mail-Calendar - 500M,o=mailcalendaruser,o=cosTemplates,dc=domain,dc=com
    cn: Mail-Calendar - 500M
    daservicetype: calendar user
    daservicetype: mail user
    mailallowedserviceaccess: imaps:ALL$pops:ALL$+smtps:ALL$+https:ALL$+pop:ALL$+imap:ALL$+smtp:ALL$+http:ALL
    mailmsgmaxblocks: 20480
    mailmsgquota: 10000
    mailquota: 524288000
    objectclass: top
    objectclass: LDAPsubentry
    objectclass: costemplate
    objectclass: extensibleobject
    See also limits in config files -
    * msg.conf (in bytes):
    service.http.maxmessagesize = 20480000
    service.http.maxpostsize = 20480000
    and
    * imta.cnf (in 1k blocks): <channel block definition> ... maxblocks 20000 blocklimit 20000 sourceblocklimit 20000
    i.e.:
    tcp_local smtp mx single_sys remotehost inner switchchannel identnonenumeric subdirs 20 maxjobs 2 pool SMTP_POOL maytlsserver maysaslserver saslswitchchannel tcp_auth missingrecipientpolicy 0 loopcheck slave_debug sourcespamfilter2optin virus destinationspamfilter2optin virus maxblocks 20000 blocklimit 20000 sourceblocklimit 20000 daemon outwardrelay.domain.com
    tcp_intranet smtp mx single_sys subdirs 20 dequeue_removeroute maxjobs 7 pool SMTP_POOL maytlsserver allowswitchchannel saslswitchchannel tcp_auth missingrecipientpolicy 4 maxblocks 20000 blocklimit 20000 sourceblocklimit 20000
    tcp_submit submit smtp mx single_sys mustsaslserver maytlsserver missingrecipientpolicy 4 slave_debug maxblocks 20000 blocklimit 20000 sourceblocklimit 20000
    tcp_auth smtp mx single_sys mustsaslserver missingrecipientpolicy 4 maxblocks 20000 blocklimit 20000 sourceblocklimit 20000
    If your deployment uses other SMTP components, like milters to check for viruses and spam, in/out relays separate from Sun Messaging, other mailbox servers, etc. make sure to use a common size limit.
    For sendmail relays sendmail.mc (m4) config source file it could mean lines like these:
    define(`SMTP_MAILER_MAX', `20480000')dnl
    define(`confMAX_MESSAGE_SIZE', `20480000')dnl
    HTH,
    //Jim Klimov
    PS: Great thanks to Shane Hjorth who originally helped me to figure all of this out! ;)

  • Result set is too large; data retrieval restricted by configuration

    Hi,
    While executing query for a given period, 'Result set is too large; data retrieval restricted by configuration' message is getting displayed. I had searched in SDN and I had referred the following link:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/d047e1a1-ad5d-2c10-5cb1-f4ff99fc63c4&overridelayout=true
    Steps followed:
    1) Transaction Code SE38
    2) In the program field, entered the report name SAP_RSADMIN_MAINTAIN and Executed.
    3) For OBJECT, entered the following parameters: BICS_DA_RESULT_SET_LIMIT_MAX
    4) For VALUE, entered the value for the size of the result set, and then executed the program:
    After the said steps, the below message is displayed:
    OLD SETTING:
    OBJECT =                                VALUE =
    UPDATE failed because there is no record
    OBJECT = BICS_DA_RESULT_SET_LIMIT_MAX
    Similar message is displayed for Object: BICS_DA_RESULT_SET_LIMIT_DEF.
    Please let me know as to how to proceed on this.
    Thanks in advance.

    Thanks for the reply!
    The objects are not available in the RSADMIN table.

  • Web Services with Large Result Sets

    Hi,
    We have an application where in a call to a web service could potentially yield a large result set. For the sake of argument, lets say that we cannot limit the result set size, i.e., by criteria narrowing or some other means.
    Have any of you handled paging when using Web Services? If so can you please share your experiences considering Web Services are stateless? Any patterns that have worked? I am aware of the Value List pattern but am looking for previous experiences here.
    Thanks

    Joseph Weinstein wrote:
    Aswin Dinakar wrote:
    I ran the test again and I removed the ResultSet.Fetch_Forward and it
    still gave me the same error OutOfMemory.
    The problem to me is similar to what Slava has described. I am parsing
    the result set in memory storing the results in a hash map and then
    emptying the post processed results into a table.
    The hash map turns out to be very big and jvm throws a OutOfMemory
    Exception.
    I am not sure how I can turn this around -
    I can partition my query so that it returns smaller chunks or "blocks"
    of data each time(say a page of data or two pages of data). Then I can
    store a page of data in the table. The problem with this approach is
    that it is not exactly transactional. Recovery would be very difficult
    in this approach.
    I could do this in a try catch block page by page and then the catch
    could go ahead and delete the rows that got committed. The question then
    becomes what if that transaction fails ?It sounds like you're committing the 'cardinal performance sin of DBMS processing',
    of shovelling lots of raw data out of the DBMS, processing it in some small way,
    and sending it (or some of it) back. You should instead do this processing in
    a stored procedure or procedures, so the data is manipulated where it is. The
    DBMS was written from the ground up to be a fast efficient set-based processor.
    Using clever SQL will pay off greatly. Build your saw-mills where the trees are.
    JoeYes we did think of stored procedures. Like I mentioned yesterday some of the post
    processing depends on unicode and specific character sets. Java seemed ideally suited
    to this since it handles these unicode characters very well and has all these libraries
    we can use. Moving this to DBMS would mean we would make that proprietary (not that we
    wont do it if it became absolutely essential) but its one of the reasons why the post
    processing happens in java. Now that you mention it stored procedures seem the best
    option.

  • Result set properties

    I have created a class that uses a result set object. I need to scroll through the result set twice and my code is not working. My first question is:
    Is there a method that will return the length of a result set?
    If there is a length method that will solve my problem. Otherwise from what I understand if I set my result set to have the following properties it will work:
    (ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_READ_ONLY)
    In the API it states that you pass the above as a parameter to the createStatement method. However in our application we do not use the createStatement method. I am wondering is there any other way of setting the result set to have these values?
    The problem is occuring with the following method:
    public boolean selectEngsByClientName (TransactionManager tm) throws Exception
    boolean foundData = false;
    ResultSet clientResultSet = null;
    PreparedStatement prepStatement = null;
    String sqlStatement;
    int i = 0;
    int countResultSet = 0;
    sqlStatement = " SELECT " +
    " eg.eng_engagement_no engNo, " +
    " cl.cln_short_name clientName, " +
    " eg.eng_name engName " +
    " FROM " +
    " far.engagements eg, " +
    " far.clients cl" +
    " WHERE " +
    " upper(cl.cln_short_name) like upper('" + this.clientSearchName +"%') AND" +
    " eg.cln_client_no = cl.cln_client_no AND" +
    " eg.eng_status_code = '2'";
    try
    // Instantiate prepared statement using the connection in the TransactionManager class
    prepStatement = tm.getConnection().prepareStatement(sqlStatement);
    // Execute the sql statement
    tm.startTransaction();
    clientResultSet = prepStatement.executeQuery();
    //Determines number of objects in result set so that array size can be set
    while (clientResultSet.next())
    countResultSet ++;
    //Creates array of engagement objects that is the same length as the result set
    engagement = new Engagement[countResultSet];
    for (int index = 0; index < engagement.length; index++)
    engagement[index] = new Engagement();
    clientResultSet.first();
    while (clientResultSet.next())
    // Populate DAO attributes with data in the ResultSet returned
    System.out.println(clientResultSet.getString("engNo"));
    engagement.setEngNo(clientResultSet.getString("engNo"));
    engagement[i].setClientName(clientResultSet.getString("clientName"));
    engagement[i].setEngName(clientResultSet.getString("engName"));
    i ++;
    // Set the result to success
    foundData = true;
    tm.endTransaction();
    catch (SQLException sqle)
    tm.rollback();
    // Re-throw custom exception
    throw new Exception();
    finally
    // Close the prepared statement and result set if not null
    try
    if (clientResultSet != null)
    clientResultSet.close();
    if (prepStatement != null)
    prepStatement.close();
    catch (Exception e) {}
    return foundData;

    Good atleast ur concepts are clear
    ok then do both the thing simultaneously this way
    engagement.setClientName(clientResultSet.getString("clientName"));
    engagement.setEngName(clientResultSet.getString("engName"));
    ResultSet rs=St.executeQuery()
    int count=0;
    While(rs.next())
    count=count+1;
    engagement.setClientName(rs.getString("clientName"));
    engagement.setEngName(rs.getString("engName"));
    System.out.println("Length od ResultSet = "+count);

  • Command for:  Access Mode for Result Set

    Hi
    Does anyone know if there is a command for "Access Mode for Result Set". 
    The default view for my characteristic in my query is "Characteristic Relationships".
    I would like to have a command button for the user to be able to change the access mode to "Posted Values"
    I have searched through all the commands but was unable to find this command.
    OR if it is not available does anyone know the XHTML that I could enter into the web template.
    Thanks in advance.
    Ian

    Hi
    Does anyone know if there is a command for "Access Mode for Result Set". 
    The default view for my characteristic in my query is "Characteristic Relationships".
    I would like to have a command button for the user to be able to change the access mode to "Posted Values"
    I have searched through all the commands but was unable to find this command.
    OR if it is not available does anyone know the XHTML that I could enter into the web template.
    Thanks in advance.
    Ian

Maybe you are looking for