Display records returned for a query in the Report Region Title

Hi,
Is there any variable set that can be referenced to indicate how many records have been returned for a specific query. I have several hide/show regions dealing with various reports, and I would like to add a little info into the region title to display how many records there were returned for the report in this region.
Thx in Advance,
cliff

Hi,
addendum
These are simple sql queries BTW. I've seen posts alluding to the SQL%ROWCOUNT when using cursors. Is there any variable we can reference when using a simple sql query?
thx
cliff

Similar Messages

  • Display hyperlinked icon for long columns in the Report

    Hi All,
    I am new to APEX and i am trying to create report in APEX.
    I have column whose contents are too big and displaying it directly on the report mess up the whole report.
    Instead i want to display an icon/image in the column and if user wants to see the content , he can click on it and it expands.
    Can anyone help me on how can this be done ?
    Thanks.

    Actually detailed_error column is almost equal to 400 char and adding it to the static text of CSS makes it bigger than 4000 it seems.
    But if i change it to
    '<div onclick="showdetail(this,''detail'|| exceptionid ||''')" style="cursor:hand;cursor:pointer;text-decoration:underline;font-weight:bold;">show_detail</div><pre id="detail'|| exceptionid ||'" style="display:none;"> 1234 </pre>' detailed_errorit instead of displaying show_detail hyperlinked on the report , shows the column value as
    <div onclick="showdetail(this,'detail4')" style="cursor:hand;cursor:pointer;text-decoration:underline;font-weight:bold;">show_detail</div><pre id="detail4" style="display:none;">234</pre>Basically my css is not getting interpreted :(
    Edited by: Parul Garg on Feb 2, 2011 3:23 PM
    Edited by: Parul Garg on Feb 2, 2011 3:25 PM
    Edited by: Parul Garg on Feb 2, 2011 3:26 PM

  • Prompting user for input for each row in the report

    Is it possible to have a user entered field for each row in a report ?
    ie. have a report with empolyee number, employee name, title, salary, and comment. Select of of these columns from the SQL query except for the comment, and then when the report is generated have the user be prompted for what the want the comment to be for every employee in the report?

    That is, have the user generating the report enter in a different comment for EACH employee. (ie Joe Smith's comment is "good worker and John Smith's comment is "come to work late on Tuesdays and Thursdays", Sally Jones' comment is "Expert in C++" etc.) as the reports is being built for each row returned from the query.

  • How to get multiple output formats for each execution of the report?

    Hi,
    Is it possible to get multiple output formats for each execution of the report? If so can you provide some details?
    Thanks

    In Reports 6i, Reports Distribution was introduced. This allows you to run the report once and output to a number of destinations with a different format. It also allows you to distribute individual sections within a report to different destinations in different formats.
    The Destinations for a Report to distribute to are defined either in a distribution file and passed on the command line or inside of the report definition.
    To add a destination to the the report definition, bring up the property palette against the report object and then select the "Distribution" property under the "Report" node. This will bring up a dialog that allows you to create a distribution list. You can then test this list by selecting "file->distribute" from the menu.
    To run a report that is to be distributed through rwrun60, you need to add "distribute=yes" to the command line. It will pick up the destinations from the report definition. If you add "destination=<filename>" then it will pick up the destinations from the specified "<filename>" and ignore the destinations in the report definition.
    Note: if "distribute=yes" is specified on the command line then the destype/desname/desformat parameters will be used to format the report (ie: which printer/display to use during formatting for sizing objects) but will be ignored when the report is sent to the destinations.

  • Problem with using a Spatial Query in a report region

    All: I am trying to create a report region using the below query. The query is syntactically correct and returns 10 rows. I have checked it out in SQL Developer AND in APEX SQL Workshop. It returns rows in 1-2 seconds.
    However, after putting the query into a report region, the APEX page locks up when it runs. I've tried masking it in a view, using other functions. I can places the spatial function in the select clause and it works. However, placing the function in the Where clause causes the page to lock up.
    Any thoughts?
    Thanks,
    John
    select lastname, address
    from changetracking.individuals
    where sdo_nn (spatiallocation, MDSYS.SDO_GEOMETRY(2001,8265,MDSYS.SDO_POINT_TYPE(-87.55728,33.137569,null),null,null), 'sdo_batch_size=10') = 'T

    QImaging is not officially supported in the Measurement & Automation (MAX) toolkit, though you may find some luck with our free legacy QImaging LabView interface here: http://www.qimaging.com/support/downloads/software/windows/QCamLabViewInstaller221.exe depending on the version lf LabView you're using.If you're looking for something that is actively updated and supported, you may want to get back in touch with Fred at +1.800.874.9789 and ask about our SITK LabView interface as well.
      PMQI_Josh,
    Yes I've already installed the LabVIEW interface beforehand. Also the version of LabVIEW I'm currently using is 8.6. I'll get in contact with Fred to see if there's a solution to this problem. Thank you.

  • Export for all rows of a Report Region

    Hi,
    I have a html region with a query button to restrict which rows get selected in a reports region below it.
    But I also want to have a link to export all rows in the report to a csv file. Button the report region may already
    have selected data in it that is not necessarily all rows in the report. Thus I guess I am wondering if I should
    create a whole separate hidden report region that will always select all rows in the query to relate the
    export link to? Or if I can someone use the current report region and select all rows for the export but
    not requery or change the currently displayed report regions results?
    Thanks in advance!

    Yes I just created a hidden report i.e. one with all columns set to
    APEX_APPLICATION.G_EXCEL_FORMAT = TRUE
    And then just create a javascript function to call the export routine...

  • I'm looking for a display recorder app for my iPod touch, is there one available on the App Store?

    Hi,
    I've been wanting to make videos and tutorials on how to use some of Apple's apps, and also some games on my iPod touch (5th gen), and I've seen loads of videos taken from iOS within an app. I don't want to jailbreak my iPod, so that means that the display recorder by Cydia is off the list. Are there any screen recorders for iPod that have unlimited filming, and will let me access filmed videos so I can post them to YouTube?
    Thanks!
    SnappingScroll2

    Use Reflector:
    http://www.airsquirrels.com/reflector/
    to display the iPod on your computer's screen. You can then use screen capture software to make a recording of your actions. No need to jailbreak.
    Regards.

  • How-To Display the Number of Records Returned from a List to the User?

    We currently are using lists to identify accounts that meet various criteria. Because the territories vary from 4k to 60k customers the users have stated that they don't know the size of the list and therefore don't know if they need to refine the list. Currently they are exporting to Excel to look at the row count to see if they need to further refine their searches. This takes quite a while and while shuffling through many lists is a bit painful. Isn't there a way to just show the total records returned from the list down at the bottom of the screen where it allows you to see 25/50/75/100 records at a time?
    There is probably a simple way to do this but it is a large user dissatisfier at the time because we simply don't know how to make this show up. Again we are using lists and not analytics for simple lists at this time.
    - john
    Edited by: user11286597 on Jun 19, 2009 11:02 AM

    Thanks Bobb. I can't believe that one wasn't in R1 :)
    Is there a link to the items being worked in the next release by any chance?
    - john

  • How to count no of records returned from a query?

    Hello,
    I need to find out how many records displayed from a query without writing any other queries.
    i mean that.
    I have a query such as:
    query = "select * from users";
    and the resultset for it is rs.
    and i need to display how many records fetched from this query without using any other query such as "select count(user_id) from users" etc.
    Is there any function ?

    No, unfortunately there is no method or property that will tell you how many rows have been returned by a query.
    People use many different techniques.
    1.The simplest would be, keep incrementing a counter in while ( rs.next() ) and at the end you'll have the count. But only at the end, after the loop.
    2. Run another query with count(*) just to fetch the count.
    3. Run the same query twice, once for counting and then again for printing out. Very dumb idea though, might as well do 2. suggested above.
    4. If you have a scrollable resultset, you could go to the lastRecord and then getRow number and hence know how many there are and then rewind the resultset. I don't know how advisable using scrollable resultsets is.
    5. Create a slightly clumsy query like : select count(*) as "totalcount", emp_id, emp_name, emp_email, emp_phone from employees group by emp_id, emp_name, emp_email, emp_phone. You'll need to use the group by clause since count() is an aggregate function and you can't mix aggregate functions and columns unless you add the group by to all the columns you're fetching.

  • Displaying the SQL Query in the report

    How can i display the query used to display a report..
    My query to get the records is as below
    select ename,empno from emp
    where deptno = :p_dept
    When i run the report i want to display the select statement as a message....
    How can we do this?

    One way is to create a column formula which you specifically redefine your query in. However, if you change your query you will need to also change your column formula. So this way could be prone to a mismatch of data. Unfortunately, I don't know of any better way. Hopefully someone else can suggest a better method. Good luck.

  • How to display "No data for yesterday" in a scheduled report on Webi

    Hi All,
    In Webi, I am working on scheduling reports and was asked by a user if the scheduled report on Webi can display "No data for yesterday/no orders for yesterday" when the report returns no data due to No Orders submitted or a business holiday. This sounded a good idea to me as this report only looks for previous days orders/sales and there are many instances when the report will return blank page due to no activity the day before.
    Can anyone please guide me on the possibility of achieving something like this on Webi using Bex query.
    Any help will be appreciated .
    Thanks
    Gaurav

    Hi,
    You can format the blocks in the report as "Hide When Empty" or "Hide When [some formula]" and have a blank cell added behind these blocks with a text "No Data for Yesterday"
    Need to set the relative position and ordering for this accordingly.

  • Latest (most recent ) price of material for a customer in the report.

    Hi,
    I need to create a query where I need to show latest(most recent ) price of the material of a customer based on condition types. I need to show latest price of the material for the customer. can some one please tell me how to show this latest(most recent ) price in the report.
    Kindly respond.

    That is ok but i want only one record be considered for reporting, not all records resulting into avarage.

  • No records  when run inside tomcat. The report preview shows data in Eclipse

    <p>I&#39;ve designed a report using Crystal reports for Eclipse. The database server is Oracle. The preview window inside Eclipse shows correctly the report.</p><p>If I run the report using Tomcat . The body is empty and no records are found. The query has no filter. </p><p> This is the code I&#39;m using on Tomcat inside a servlet.</p><p>com.crystaldecisions.reports.sdk.ReportClientDocument reportClientDocument = new com.crystaldecisions.reports.sdk.ReportClientDocument();<br />               String reportName="CrystalReport1.rpt";        try {<br />            reportClientDocument.open(reportName, OpenReportOptions._openAsReadOnly);<br />            <br />            <br />            JRCHelperSample.changeDataSource(reportClientDocument, "COMM", "***", "jdbc:oracle:thin:@localhost:1521:db", "oracle.jdbc.OracleDriver",null );    </p><p>                    reportClientDocument.verifyDatabase();              </p><p>          ByteArrayInputStream byteArrayInputStream = (ByteArrayInputStream)reportClientDocument.getPrintOutputController().export(ReportExportFormat.PDF);                        //Release report.           </p><p> reportClientDocument.close();                    </p><p>                     writeToBrowser(byteArrayInputStream, response, "application/pdf", "A1.pdf"); </p>

    <p>In the log it&#39;s written</p><p> Failed to build database query: <strong>there is no required fields.</strong><br />04 ott 2006 12:16:57 [http-8080-Processor24] DEBUG com.crystaldecisions.reports.dataengine.datasource - Reading database record<br />04 ott 2006 12:16:57 [http-8080-Processor24] DEBUG com.crystaldecisions.reports.dataengine.datasource - Reading next recurring database record.<br />04 ott 2006 12:16:57 [http-8080-Processor24] DEBUG com.crystaldecisions.reports.dataengine.datasource - Finished reading database records, no more records <br /></p>

  • Displaying a note in an area in the report that can be considered common

    Hi,
    All my KF fields are amounts in INR (Indian Rupees). Is there some way to show that 'all amounts are in INR' in a common place in the report instead of displaying the same in the header of every column
    Edited by: Sanjeev Koganti on Jan 2, 2008 9:51 AM

    Hi Jr,
    Thanks for telling me about the display of scaling factors in the query properties. That reduces work in adding the unit to the description of every KF
    I actually wanted to know if there was way to display 'All amounts are in INR' somewhere in the report since all the KFs are in INR units
    Edited by: Sanjeev Koganti on Jan 2, 2008 10:11 AM

  • Date syntax for MySql query in SQL Reporting Services

    I am currently trying to link a mysql Stored Procedure to a Microsoft SQL Reporting Server. It is coming up with a Syntax error. I believe this is down to the
    Date_from and Date_to Parameters. The query is below any help would be appreciated 
    DELIMITER $$ 
    USE `mydb`$$ 
    DROP PROCEDURE IF EXISTS `DTI`$$ 
    CREATE DEFINER=`linkeduser`@`%` PROCEDURE `DTI`(IN date_from DATETIME, 
    IN date_to DATETIME) 
    BEGIN 
    SELECT title,gender,firstname,lastname,address1,town,postcode,dob,IF(co.start_date = '00-00-0000', '', CAST(DATE(co.start_date) AS DATE)) AS 'StartDate' 
    FROM cf_user AS us 
    JOIN ca_compliance AS co ON co.user_id = us.user_id 
    WHERE co.start_date BETWEEN date_from AND date_to; 
    END$$ 
    DELIMITER ;

    Hello,
    The dataset query runs on the external data source.
     In your case, you create a report by retrieve data from MySQL database with a stored procedure. The stored procedure will run on MySQL Server and return the result in the Report designer or Report Builder. To solved this issue, please execute the stored
    procedure on the MySQL database and check the syntax error.
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

Maybe you are looking for

  • Need to add a Signature to my Text, to be Bill C-28 Compliant

    Hello all.  I am new to the forums and would like to thank everyone in advance for any help you may reply with.  I have searched the topics before posting without very much success. Being that come July 1st 2014 Bill C-28 will commence which requires

  • HTMLB TableView: Edit first Line

    Hi, I have implemented an HTMLB TableView with the attribute selection mode 'singleselect'. The users can mark one row to edit. This works so far. But as the users have to maintain at least one row, the first row should initially be editable <b>witho

  • Configure oem on oracle 10g

    Hi, I am trying to configure oem in 10..2.0.3 database, but it gives me the below error emca -config dbcontrol db -repos createIncorrect usage: oracle.sysman.emcp.EMConfigAssistant [options] [list of parameters] Options: -a :configure for an ASM data

  • Deletion on DSO request

    Hi All,                 first we loaded the one DSO with delta load.because of data consistency converted that into full load after doing "Initialization Delta process".But for the DSO we need to delete the old  request for having present data reques

  • Incorrect ouput of "groups" command

    I setup iDS 5.1 server on Solaris 9 and client on Solaris8. I created one account (user1) and add it on 2 groups, but I could not get right output by running "groups" command, it only was displayed that this account just exist on one group (primary g