Page display based on count of records

Hi All,
i have one report requirement in BIP.
my report should contains 3 pages only.
Fist page contains first contact information.
Second page should contain Second contact inforamtion.
Third page should contain comparing of first contact age and second contact age.
if we select first contact record it should display first page contact info only no need to display compare page.
if we select two contacts then it should display first contact page, second contact page and compare contact age page also. (here first contact and second contact columuns should match. example address, country but age not required to match)
if we select three or more contacts they should get a message please select two contact records only message.
Now my question is regarding to page displays, how can we count records then display first page, otherwise display all pages, else message. Here i want to generate report with sub template logic.
Thanks,
jag
Edited by: user7498756 on Aug 30, 2012 8:45 AM

as you were saying they will select the option so in your template
use if condition based on user input to execute the block you need .
if selected value = first member
call subtemplate first part
end if
if selected value = second member
call subtemplate second part
end if
if selected value = more than 2
keep static message
end if
in subtemplate create
2 parts of code
first part
will have first page logic
second part will have
its logic required

Similar Messages

  • HT3387 does pages have a word count facility ?

    Can anyone tell me if pages has a word count facility please

    Cruise,
    Yes, Pages displays a Word Count. You will see it in the lower left corner of the Pages window, and in the Document Inspector, Info tab.
    Jerry

  • How to find count of records based on batch wise.

    Hi All,
    We are working on OWB10gr2. I would like share one requirement. Any one can suggest me how to do it and which is the best way to get accurate information.
    We have 2 schemas’ like nia_src and nia_tgt. currently we are moving data from nia_src to nia_tgt for that reason we implemented some mappings based on requirement. In my source schema (nia_src) having 100 tables with data and similar structure replicated in target schema (nia_tgt).
    In source schema every table having one date field for which record is inserted and based on that field we can find how may records are inserted on particular table ,particular time.
    Same like target also maintaining date fields for tracking purposes.
    We have done some mappings and scheduled also. Every day we are into the target with incremental data. All are working fine not any issues.
    I wanted to know how many records inserted, updated, merged for particular batch
    How can we find?
    Can we find exact information in OWB_REP_OWNER schema on WB_RT_AUDIT?.
    For tracking purposes I need to find those values how many records are available in
    Source table and how many records are populated to the target schema?
    How to find schedule batch count of records table wise for batch wise?
    Please suggest me any one on this.
    thanks and regards,
    venkat.

    RE: based on pre operator can we find count of records. if yes how to do it.
    No, you cannot tell from the pre- operator how many records will be inserted or updated into a mapping. How could you? The mapping hasn't run yet!
    At best (if you have simple mappings with single targets) you could come up with a strategy to have the pre-mapping procedure aware of it's package name, then select from user_source for that package body until you find that first cursor used for the row-based processing, copy the cursor into a local variable, and then execute immediate select count(*) from that cursor definition. But still, all that would get you is the number of rows selected - not inserted / updated / errored etc.
    A post-mapping procedure that is aware of the package name will, however, run prior to package exit so that the package spec is still in memory so you can access the public variables in the package spec. We do that in our standard post-mapping procedure
    CREATE OR REPLACE procedure erscntrl_finalize_prc(
                           p_process_id     in  number,
                           p_process_name   in  varchar2)
    as
          l_numread      number         := 0;
          l_numInserted  number         := 0;
          l_numUpdated   number         := 0;
          l_numMerged    number         := 0;
          l_owb_audit_id number         := 0;
          l_owb_status   number         := 0;
          sqlStmt        varchar2(2000) :=
                               'begin '||
                               '  :1 := '||p_process_name||'.get_selected; '||
                               '  :2 := '||p_process_name||'.get_inserted; '||
                               '  :3 := '||p_process_name||'.get_updated; '||
                               '  :4 := '||p_process_name||'.get_merged; '||
                               '  :5 := '||p_process_name||'.get_audit_id; '||
                               '  :6 := '||p_process_name||'.get_status; '||
                               ' end;';
    begin
          -- we use dynamic SQL to return required audit field values.
          --  This allows us to alter which values we need at a later date
          --  without impacting the deployed mappings.
        execute immediate sqlStmt
        using   out l_numread,   out l_numInserted,  out l_numUpdated,
                out l_numMerged, out l_owb_audit_id, out l_owb_status;
      -- then execute our own logging package.
       owb_mapping_log_pkg.finalize(
                           p_process_id,
                           p_process_name,
                           l_numread,
                           l_numInserted,
                           l_numUpdated,
                           l_numMerged,
                           l_owb_audit_id,
                           l_owb_status
    end;
    /However, even in this case bear in mind that if you run the mapping in set-base mode, all Oracle returns is the number merged which does not give values for the inserted and updated counts. If you really need those values you need to either a) run in row-based mode or row-based-target-only, or come up with some custom queries. For example, in your pre-mapping do a select count(*) from your_target_table, then run the mapping, then get the number merged, then do another select count(*) from your_target_table. With these values and basic math you could tell the number inserted by the growth in the table, and the rest of the number merged must have been updates.
    That being said, if you are playing with dimensions as large as most of the ones I am - there is no bloody way that you want to do two select count(*) statements on each run without a really, really good reason.....
    Cheers,
    Mike

  • How to display page numbers based on group

    Hi All,
    I have a report and it consists two groups. First group is displaying 20 pages and the second group is displaying 30 pages. My requirement is to display the page numbers based on the group. That is, the second group output page numbers should start with 1 after displaying first group output. So, the page numbers should be as followed in the report output:
    First group page numbers:
    Page 1 of 20
    Page 2 of 20
    Page 20 of 20
    Second group page numbers:
    Page 1 of 30
    Page 2 of 30
    Page 30 of 30
    How do I achieve the above requirement.
    Thanks in advance.

    When you set the source to "Page Number" for a displayed field, an extra attribute appears on the property palette of "Page Numbering". If you click on this you'll see that you can cause it to reset on a group.

  • How to display page number based on group.

    Hi All,
    I have a report and it consists two groups. First group is displaying 20 pages and the second group is displaying 30 pages. My requirement is to display the page numbers based on the group. That is, the second group output page numbers should start with 1 after displaying first group output. So, the page numbers should be as followed in the report output:
    First group page numbers:
    Page 1 of 20
    Page 2 of 20
    Page 20 of 20
    Second group page numbers:
    Page 1 of 30
    Page 2 of 30
    Page 30 of 30
    How do I achieve the above requirement.
    Thanks in advance.

    Post your report related question in the [url http://forums.oracle.com/forums/forum.jspa?forumID=84]Reports Forum, this is the Forms Forum.
    Tony
    Message was edited by:
    Tony Garabedian

  • Conditional display based on Page Template

    I'd like to make some conditional display based on Page temlate value (definition). Example:
    return page_template='TABS';With such an feature it will be easy to exclude some elements defined on "Page 0" on some pages. I know that this could be done by enumerating page_id's...but in this way it will be much flexible...
    Is there such a feature? Will it be ever possible?

    A more flexible way (IMHO) to do this sort of thing would be to define onload application-level computations that set a application item to either SHOW or HIDE depending on the conditions you need. Then make the Page 0 components conditional upon this application item's value.

  • Showing Dimension counts for record results.

    Hi experts,
    In my application, I want to show dimension counts for record results. Support results contains 50 records, Out of 50 records, with Color=Red has 15 records. Therefore I want to display the Red Color results as -
    Color:
    Red (15)
    Silver(5)
    Like wise for other dimensions as well. As per the Endeca documentations, I guess "Drs" parameter is there to achieve it. If this is true then can you guys explain how the required functionality can be achieved using endea_jspref application . Or using presentation api, what kind of code should be written.
    Any input/ideas will be highly appreciated.
    Regards,
    Hoque

    Hi,
    in my code level i used like below to display num of records
    if you use RefinementMenu cartridge(in jsp RefinementMenu.jsp) you will get refinements in that content.
    <c:forEach items="${content.refinements}" var="refinement">
    <li>
    <dsp:include page="/renderNavLink.jsp">
    <dsp:param name="navAction" value="${refinement}"/>
    <dsp:param name="text" value="${refinement.label} (${refinement.count}) "/>
    </dsp:include>
    </li>
    </c:forEach>
    in above ${refinement.label} :: means the lable name(color:red,silver) and
    (${refinement.count}) :: means the no of records it has( red(10), silver(12))
    in renderlink.jsp i used to render content or navigation based on your click(red or silver)
    i think so it may help you from endeca Stuff.
    Regards
    Y.V.L

  • OCS 10g on Linux: Forbidden page displayed

    OCS 10g on Linux: Forbidden page displayed
    I have recently downloaded OCS 10g and installed on RHEL 4 i386
    server with 4GB RAM and 40+9+9 GB Hard disk. The installation was
    smooth though very time consuming, took almost 7 hours.
    After installation when I access http://servername:7778, I get the
    welcome page. When I click on any link I get the following error:
    Forbidden
    You don't have permission to
    access /pls/orasso/orasso.wwsso_app_admin.ls_login on this server.
    Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server Server at
    ocsserver Port 7778
    I tried checking for errors in the log file and I found the following
    entry in the apache log folder:
    [Fri Sep 30 16:56:59 2005] [warn] [client 127.0.0.1] [ecid:
    1128079619:127.0.0.1:8670:0:138,0] MOD_OC4J_0184: Failed to find an
    oc4j process for destination: home
    [Fri Sep 30 16:56:59 2005] [error] [client 127.0.0.1] [ecid:
    1128079619:127.0.0.1:8670:0:138,0] MOD_OC4J_0145: There is no oc4j
    process (for destination: home) available to service request.
    [Fri Sep 30 16:56:59 2005] [error] [client 127.0.0.1] [ecid:
    1128079619:127.0.0.1:8670:0:138,0] MOD_OC4J_0119: Failed to get an
    oc4j process for destination: home
    [Fri Sep 30 16:56:59 2005] [error] [client 127.0.0.1] [ecid:
    1128079619:127.0.0.1:8670:0:138,0] MOD_OC4J_0013: Failed to call
    destination: home's service() to service the request.
    [Fri Sep 30 16:59:13 2005] [error] [client 127.0.0.1] [ecid:
    94296745340,1] client denied by server configuration:
    proxy:http://ocsserver.mshome.net:7777/pls/orasso/orasso.wwsso_app_admin.ls_login
    Any ideas as to how to resolve the forbidden error.
    Vipul Garg

    Hello Richard,
    Thank you for the reply. I have not replaced the text in error report. The hostname is ocsserver. I am not purposely using the fully qualified hostname as I tried installing with hostname as ocsserver.matpl (matpl is the domain name set on my local Windows NT server), I was unable to access the RTC url from a local network PC running Windows 2000/XP. To check the capability of RTC I have to run the RTC url on a Windows based system. Hence I did a reinstall of the OCS 10g without a domain name in the hostname. Though in the network setting I find mshome.net as the DNS domain search path set automatically in my Linux server. I tried removing it but it automatically sets in. Is this creating problem? But after installation I restarted the server I was able to run all the opmn services of infra. Only that I was getting a forbidden page and for that I changed the password of PORTAL and ORASSO schema. One more thing I find unsual is that whenever I start the machine I find that the schema PORTAL is LOCKED(TIMED) and I have to unlock it, but it gets locked automatically once databse is restarted. Why is it happening?
    I checked the entries of processes and they are 250 as per the parameter. And 35 is the value as per the count of v$session.
    Please provide your valuable ideas in resolving the issue.
    Regards,
    Vipul

  • How do I get a 0 to display when a count = 0 (zero)? (The cell is blank)...

    (Running Business Objects Release 2 (Web-I), No other reporting modules)
    How do I get a 0 to display when a count = 0 (zero)? (The cell is blank)...
    In my reports, I count the number of tests of one of our products and another count on the number of failures.  I then use a simple formula to give me the defect rate percentage (DR%)
    The universe objects used in the calculation are:
    Assembly Number (dimension)
    Human Sn (dimension)
    Test Code Description (dimension)
    I created a variable (called [Count Assys]) that counts the number of Assemblies Tested:
    Formula: =Count([Assembly Number];All)
    Another variable (called [Failed Count]) counts the number of failed tests:
    Formula: =Count([Test Code Description];All) Where ([Test Code Description] <> "FUNCTIONAL TESTS PASSED")
    NOTE: There is a "not equal to sign" between [Test Code Description] and "FUNCTIONAL..." above, but the forum is blanking it when I preview the message.  Not a big deal, but it may be important for someone looking to help...
    I then have a third variable called [DR%] that divides [Failed Count] into the number of [Count Assys], which yields a number formatted as a percentage.
    Formula: =[Failed Count]/[Count Assys]
    The above works great! 
    The problem is: when I have a zero defect count (everything passes), the cell is blank, so the percentage variable remains blank.  I want a zero (0) to appear if nothing failed so the percentage appears as 0%
    I've searched this forum completely and have tried several Properties changes and different variable strings (like =If([Failed Count]<1,0) and the cell stays blank and cannot come up with an answer.
    This one seems simple to me, but everything I've tried has yielded zero <smile> results.
    Thanks,
    Charles
    Edited by: Charles Norman on Dec 9, 2008 12:44 PM
    Edited by: Charles Norman on Dec 9, 2008 12:47 PM

    Hi Charles,
    Use [Dr%] Variable formula as =if(IsNull([Dr%]);0;[DR%])
    Here IsNull returns the Boolean value of variable [Dr%] if its true then inserts 0 else the percentage values of failed tests based on the  total number of assembly tests performed.
    I Hope this is what you want to achieve....
    Thanks....
    Pratik

  • Apex tab and page display query

    I am using Apex 4.1
    I have the following tabs set up.
    Home, Tab 1,Tab 2 and so on
    The home page is fine. Now the query is with regard to Tab 1. I need it to display Page 3 or Page 4 based on the location of APP_USER
    The region details are all stored in the table : employee_info
    How can I check or display Page 3 if the Region is APAC and Page 4 if EMEA(APAC and EMEA being values in table)
    Is there some way how I can set or achieve this? The default page I have set is as of now Page 3 but it has to pick Page 3 or 4 based on region value from employee table.
    Any guidance will be appreciable.
    Thanks,
    Swetha

    LKSwetha wrote:
    I am using Apex 4.1
    I have the following tabs set up.
    Home, Tab 1,Tab 2 and so on
    The home page is fine. Now the query is with regard to Tab 1. I need it to display Page 3 or Page 4 based on the location of APP_USER
    The region details are all stored in the table : employee_info
    How can I check or display Page 3 if the Region is APAC and Page 4 if EMEA(APAC and EMEA being values in table)
    Is there some way how I can set or achieve this? The default page I have set is as of now Page 3 but it has to pick Page 3 or 4 based on region value from employee table.
    Any guidance will be appreciable.Create 2 copies of Tab 1, one for page 3 and the other for page 4. Display them conditionally according to the user region.

  • Page display pblm with styles

    Hello
    I have an html file in an application directory of Tomcat.
    When I open the file in a browser(like File->Open..), the page display is correct.
    I mean it takes the Scripts, Styles directory into consideration and displays correctly.
    But when I open this html file using http://localhost:8080/myProject/abc.html , it displays the page
    with all controls like buttons, textfileds etc. However it is not shown based on the style
    specified in the Styles folder.
    What could be the reason?
    Note: This application is copied from some other system and the style reference is correct. i.e:
    <LINK rel="stylesheet" type="text/css" href='../style/default.css'> and the style folder is in the parent directory
    Pls help

    Oops!!! Got it corrected.
    The problem was this : <LINK rel="stylesheet" type="text/css" href='../style/default.css'>
    and the folder name was Style.
    thnx

  • Page display pblm

    Hello
    I have an html file in an application directory of Tomcat.
    When I open the file in a browser(like File->Open..), the page display is correct.
    I mean it takes the Scripts, Styles directory into consideration and displays correctly.
    But when I open this html file using http://localhost:8080/myProject/abc.html , it displays the page
    with all controls like buttons, textfileds etc. However it is not shown based on the style
    specified in the Styles folder.
    What could be the reason?
    Note: This application is copied from some other system and the style reference is correct. i.e:
    <LINK rel="stylesheet" type="text/css" href='../style/default.css'> and the style folder is in the parent directory
    Pls help

    Oops!!! Got it corrected.
    The problem was this : <LINK rel="stylesheet" type="text/css" href='../style/default.css'>
    and the folder name was Style.
    thnx

  • Displaying the total no of records in ALV ouput.

    Hi everybody,
    I am displaying the output in ALV.
    I want display the total number of records at the top of page.( before the columns).
    Can any one throw light on this plz.
    Karunakar reddy

    To get the number of entries in your displayed table use:
    <i>DESCRIBE TABLE tab LINES wg_lines.</i>
    To display the value in a ALV Grid Control, use something like this:
    <i>DATA: sl_layout   TYPE lvc_s_layo.
    sl_layout-grid_title = wl_lines.
    CALL METHOD og_alv->set_table_for_first_display
          EXPORTING
            is_layout                     = sl_layout
            ....</i>
    Regards,
    Martin

  • History of first page in new tab is not recorded

    1) I open a new tab and a page displays (homepage, whatever), 2) I go to a new page under the same tab, 3) I go to another new page under the same tab. The Problem Is: The page in step 1) never gets recorded in the page history. I can never use the "back" arrow to get to that first page. It never shows up in the page history of that tab. I know it used to record that first page but it doesn't anymore. What's up?

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • Dynamic Page Rendering (based on the difinition for labels and field setup)

    We have a requirement to display pages dynamically based on the setup or configuration for labels and fields.
    1. For example (the display page will look like):
    Company Name: -------------------------
    DB No:
    2. Setup for this will be in a UI (saved to the database):
    Page Seq Label Field type size
    1 1 Company Name comp_nm text char(50)
    1 2 DB No db_no number
    The pages will be rendered through the database procedure for the above.
    Thanks in advance for help.

    Hi Timo
    JDEV Version: Studio Edition Version 11.1.2.2.0
    I mean the definitions for the page like labels, text fields will be setup as this page will change as per the business requirements.
    We are open to sql or xml if the db procedure will not work.
    The objective is to give the business user to add anything to the page (for example, we have a lot of questions which changes in time due to specific business needs), so that the user can add a question or disable one based on the need.
    Hope if clarifies.
    Thanks
    Bibs

Maybe you are looking for

  • Set default filename in JFileChooser (Save Dialog)

    Hi, how can i set a default filename in a JFileChooser-Save-Dialog? The file does NOT exist, so setSelectedFile(new File("FileName")); does not work. Thanks in advance. Filo

  • Sequence Settings - Video Processing question!? AVCHD

    I'm using the panasonic HMC40, very similar to the HMC150. So i'm shooting in AVCHD. My Sequence Settings are as follow... 1280x720 - HDTV 720p (16:9) Pixel Aspect Ratio - Square Quicktime Video Settings Compressor: Apple ProRes422 - quality 100% ('I

  • Refresh Interactive Report Definition via PLSQL

    Hello! I am currently working on set of generic database-apex applications. That means I have two applications. The first is the admin apex application used to define columns and tables. The second application is the one for the end users, where they

  • Adobe Premiere Pro showing "licence for this product has stopped working"

    I have tried everything in the forum but nothing helps. please help me Only Adobe Premere Pro is showing this problem while rest all the things are working fine. not is it showing any error number.

  • Import Metadata: Transcript XML

    I had Adobe Soundbooth CS4 export a transcript to an XML file, as I had not yet discovered the integrated metadata panel, and I had not realized that the XML file would be pretty much unusable. It took quite a while to generate this transcript for an