How to show if a task is ovedue?

I manage a list of tasks for a team. It is not exactly a project yet with critical path etc. But we do have a lot of tasks grouped into categories with a responsible person and a due date.I don't track progress with %, only track if it's done on the due
date or not.
We have a weekly meeting at which we review all overdue tasks. So my question is: How do I show in task list which tasks are overdue and how many days overdue?
For now the only thing I was able to do is to display a warning for delayed tasks. The problem is, Project considers a task delayed even if the due date is not past yet but the progress is not what it should be.
I thought about using baseline, but it doesn't work for me. I want something much simpler than that, something I did in Excel with a simple formula. Can I do it simple in project?

Hi Anastasia,
You could create a flag custom field "overdue" with a formula like this: IIf([Finish Date]<[Current Date];1;0)
The flag would be set to 1 if the task has a finish date in the past. You could eventually improve the model by using the status date instead of the current date, or using another date custom field "due date", manually entered for each task and
used instead of the finish date. Better than that you could use the native "deadline" column to enter a deadline for each task and use it instead of the finish date.
As you can see, many ways to do what you want.
Then you could have a view with tasks grouped along the flag "overdue" yes or no. You could even colour the overdue tasks bars in the Gantt chart with a different colour when the flag is YES.
Tell us if one of those proposals suits to your need and if you need more détails.
Hope this helps,
Guillaume Rouyre, MBA, MVP, P-Seller |

Similar Messages

  • How to show My Tasks from all sites in site collection

    I have a site collection with several sub sites
    Each site has multiple lists and on those lists, Publishing workflow is enabled.
    For each workflow I have a SharePoint group named "Approver" in which I have added two persons:
    Person1
    Person2
    All workflows are setup like this:
    1. In workflow where it asks for Approvers I have given that group name "Approver"
    2. In "Order" I have selected "All at once (parallel)" because I want any one of the approver to approve tasks
    3. Below in "Expand Groups" option I have de-selected the checkbox
    The workflow is working fine as it shows pending tasks in Workflow Tasks lists as well as each approver gets an email alert.
    BUT
    I am displaying each Workflow Tasks list in each site which is not user friendly. I want to show all pending tasks in a single list to user.
    For that I added CQWP but problem is you can filter by "Assigned To = Approver" where approver is group name here as described above. CQWP only accepts USER NAME and not GROUP NAME in "Assigned To" field.
    If in step 1 above I give each user name instead of group name "Approver" then unless all users have approved/rejected tasks, workflow doesn't ends which I don't want. I want any one of the user to end workflow by approving/rejecting.
    What should I do now?
    TLDR
    If somehow I can filter by user group name in CQWP then my problem will be solved.

    Thanks.  It's a very detail-oriented process, tedious if you will. (Which is why I posted, hoping someone doesn't have to spend 3 weeks like I did.)
    As far as security trimming it, I think you have to ask yourself how you would security trim info within any web part? Unfortunately, I don't think it's very straightforward to do. 
    My best guess would be to solve with jQuery / JavaScript.  So, you would have a webpart to display the content, then code to determine what CAN be displayed, I don't see how you could do both without creating a custom webpart via VS.
    Steve Clark, MCTS |
    Twin-Soft Corporation
    Easy Bins Roll-off Dumpster Rentals in Northern VA
    Specializing in:
    Driveway-sized, roll-off dumpster rentals in Fairfax VA |
    Dumpster Rentals for Junk Hauling in Springfield VA
    Roll-off Rental Dumpsters in Annandale, VA |
    Dumpster Rentals for Estate Cleanout in Alexandria VA

  • How do I create a task in Automator

    How do I create a task in Automator? I don't know AppleScript, and just plinking around with it I have not had any luck.
    I'm finding that anything I want to do in Automator is not quite covered by the stock tasks within the application. I'd like to add comments to a goup of photos, but cannot. I'd like to go through my junk folder in email, show the long headers and forward the SPAM to the FTC, but cannot, etc. There are not the right tasks available.
    Can anybody help me?

    Brooks,
    Most of the Automator Actions are designed to do something you have to do by hand on your Mac. Adding comments is already automated in iPhoto with the Batch Change menu command. What you want to do in Mail I believe is already automated by setting up a Mail Rule in Preferences.
    There are many other tasks that Automator can do that are very useful. For instance, it's easy to make a batch printer app. Click on Finder in the Library column of Automator, then double-click on "Print Finder Items" in the Action column. Save this as an Application on your desktop. Any printable files dropped on the app will be sent to the printer.
    Kevin

  • How do you end a task that won't open

    How do you end a task that won't complete?

    Assuming that it doesn't show in Force Quit under the Apple menu - can you see it in Activity Monitor (/Applications/Utilities)

  • How to divide the UWL tasks listed in "Tasks" in different views ??

    Hello, i want to divide the tasks listed in the UWL in different iviews depening on whether they are tasks from the R3 workflow, tasks from the KM or tasks from the guided procedures ; in other words, i don´t wank one iview showing all the tasks together. I want to show just tasks from R3 workflow in one iview, task from the km in another and tasks from  guided procedures in another.
    How can achieve this?
    Thanks in advance!.

    Hi Themis,
    well, you could use the concept of configuration groups. You can assign every UWL system to none, one or multiple configuration groups (see <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/92/a88931f2dd4631b9e8d530697d89c9/frameset.htm">SAP Library</a>). The UWL iView can be limited to show only work items from systems in a given configuration group.
    I suggest that you assign your backend systems (KM, SAP Business Workflow, etc.) to different configuration groups (you can choose the names of the configuration groups arbitrary). Afterwards, create a few UWL iView instances and set the iView property "System Configuration Group" accordingy.
    Best regards,
    Martin

  • Status showing Pending Preced.task in UCMON

    Hi Friends
    Please help me to solve the problem of "Status showing Pending Preced.task in UCMON ".
    I executed all the tasks right from Period Initialization to Validation of cons.data.
    But all the Tasks status shows that "preceding task is pending".
    The Status of the all the Tasks group are in "Incomplete"
    Help me how to correct them .
    Thanks &Regards
    Suraj.

    Hi Dan,
    Thank u for responding.
    We got only one Hierarchy i.e Cons.by Legal .
    Cons.Monitor --> Task Hierarchy --> Cons. by.legal.
    But we do have Regional Hierarchy in Consolidation Group.
    Cons.Unit --> Cons.group --> 1.Cons.by Legal,
                                               2.Cons by Region.
    In UCMON we are executing the tasks for 1.Cons. by Legal Hierarchy
    we did not taken the Cons.by Region Hierarchy at all in UCMON.
    please help me to solve the problem.
    Thanks & Regards
    Suraj.

  • AP Templates, how to stop the apply task

    Hi, I Use WCS 5.0.56 with 2 controller Wism and about 30 AP (AP 1130g). This morning I want to reboot some AP so I make a template and check the box for Reboot AP after update, I check about 10 AP and clic Apply button but it's stay at 0% of apply report and isn't move. My WCS server process has java.exe who take a lot of memory but nothing happens. I try to reboot the 2 controller with no change, I stop and restart th WCS server and nothing change, the apply report still remains at 0%
    So How can I cancel this tasks?
    Thanks

    Hey Aadesh, thank you for your answer
    I hope the links for the pictures work, i wasn't quite sure which link to copy.
    as you can see, i work on a small computer, and unfortunately, it makes quite a big difference...
    [url=http://postimg.org/image/zb2gmfu73/][img=http://s3.postimg.org/zb2gmfu73/Screen_Shot_15_04 _06_130512.jpg][/url]
    [url=http://postimg.org/image/b9vkkzfdr/][img=http://s3.postimg.org/b9vkkzfdr/Screen_Shot_15_04 _06_130530.jpg][/url]
    Especially when i try to work on 2 corresponding documents at once...
    [url=http://postimg.org/image/4wy0s8dcf/][img=http://s11.postimg.org/4wy0s8dcf/Screen_Shot_15_0 4_06_131537.jpg][/url]
    [url=http://postimg.org/image/9ubldcfbj/][img=http://s11.postimg.org/9ubldcfbj/Screen_Shot_15_0 4_06_131558.jpg][/url]
    Clicking on tools it what I do each time, but I would have loved to find a way to be able to write something without having that bar show up... Would you have any idea if this would be possible? For example when you click on the highlight tool, the "comment" task pane does not automatically open, this only happens with the "Tool" task pane.
    Maybe there is a parameter I could apply?

  • AnyType values not showing on Human Task 11g

    Hi All,
    I have a process where the input schema is mapped to an anyType variable. I then map this variable to the payload variable on the Human Task. But when I run this process and go to the worklist, I get nothing. How can I get the data stored on an anyType variable to be displayed on the Human Task Form.
    Any Ideas ?
    Thanks
    K

    I did have a look at the link provided. I have followed the correct steps. I suggest having a look at the xsd I pass to the Human Task. In the xsd you will see the element entityValue which is of type anyType. In this element i map the payload of a bpel process e.g. if the payload has name, surname, address, telephone etc , that will be passed with the values in the entityValue element. Now when I map to the Human Task, I map the element EntityRequest to the Human Task payload. When I trigger the process that calls the Human Task, in the worklist application, I am able to see all other values in my schema below except entityValue. I have also provided a dummy entityValue mapping. I just want it to show whats stored in that element, the highlighted part
    XSD schema thats I am using
    <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://xmlns.up.ac.za/Integration/Generic/schemas/Exception"
    xmlns:ed="http://xmlns.up.ac.za/Integration/Generic/schemas/Exception"
    elementFormDefault="qualified">
    <element name="EntityRequest" type="ed:EntityRequestType"/>
    <complexType name="EntityRequestTpe">
    <sequence>
    <element name="header" type="ed:HeaderType"/>
    <element name="entityValue" type="xsd:anyType" minOccurs="0"/> *<---* problem area - will not show on Human Task
    <element name="entity" type="string"/>
    <element name="isn" type="integer"/>
    <element name="group" type="string"/>
    </sequence>
    </complexType>
    <complexType name="HeaderType">
    <sequence>
    <element name="error" type="ed:errorType" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    </complexType>
    <complexType name="errorType">
    <sequence>
    <element name="code" type="string"/>
    <element name="description" type="string"/>
    <element name="source" type="string"/>
    </sequence>
    </complexType>
    </schema>
    Below is an example of the data mapped to element entityValue
    <entityValue xmlns:ns0="http://xmlns.up.ac.za/Integration/OIM/schemas/OimBioSyncEBM">
    *<ns0:PersonStoreEBO>*
    *<PsEbo:BioData>*
    *<Bio:NAME_TITLE xmlns:Bio="http://xmlns.up.ac.za/Integration/OIM/schemas/Bio_DataEBO.V1">Dr</Bio:NAME_TITLE>*
    *<Bio:NAME_INITIALS xmlns:Bio="http://xmlns.up.ac.za/Integration/OIM/schemas/Bio_DataEBO.V1">T</Bio:NAME_INITIALS>*
    *<Bio:PREF_FIRST_NAME xmlns:Bio="http://xmlns.up.ac.za/Integration/OIM/schemas/Bio_DataEBO.V1">test</Bio:PREF_FIRST_NAME>*
    *<Bio:FIRST_NAME xmlns:Bio="http://xmlns.up.ac.za/Integration/OIM/schemas/Bio_DataEBO.V1">test</Bio:FIRST_NAME>*
    *<Bio:MIDDLE_NAME xmlns:Bio="http://xmlns.up.ac.za/Integration/OIM/schemas/Bio_DataEBO.V1">test</Bio:MIDDLE_NAME>*
    *<Bio:LAST_NAME xmlns:Bio="http://xmlns.up.ac.za/Integration/OIM/schemas/Bio_DataEBO.V1">test</Bio:LAST_NAME>*
    *<Bio:NATIONAL_ID_TYPE xmlns:Bio="http://xmlns.up.ac.za/Integration/OIM/schemas/Bio_DataEBO.V1">NID</Bio:NATIONAL_ID_TYPE>*
    *<Bio:COUNTRY xmlns:Bio="http://xmlns.up.ac.za/Integration/OIM/schemas/Bio_DataEBO.V1">ZAF</Bio:COUNTRY>*
    *<Bio:NATIONAL_ID xmlns:Bio="http://xmlns.up.ac.za/Integration/OIM/schemas/Bio_DataEBO.V1">123456789</Bio:NATIONAL_ID>*
    *<Bio:MOBILE_PHONE xmlns:Bio="http://xmlns.up.ac.za/Integration/OIM/schemas/Bio_DataEBO.V1">0123456</Bio:MOBILE_PHONE>*
    *<Bio:SMS_SEND_IND xmlns:Bio="http://xmlns.up.ac.za/Integration/OIM/schemas/Bio_DataEBO.V1">Y</Bio:SMS_SEND_IND>*
    *<Bio:SEX xmlns:Bio="http://xmlns.up.ac.za/Integration/OIM/schemas/Bio_DataEBO.V1">M</Bio:SEX>*
    *<Bio:RACE xmlns:Bio="http://xmlns.up.ac.za/Integration/OIM/schemas/Bio_DataEBO.V1">2</Bio:RACE>*
    *<Bio:BIRTHDATE xmlns:Bio="http://xmlns.up.ac.za/Integration/OIM/schemas/Bio_DataEBO.V1">1912-12-12</Bio:BIRTHDATE>*
    *</PsEbo:BioData>*
    *</ns0:PersonStoreEBO>*
    </entityValue>
    Edited by: K on Jun 1, 2012 9:59 AM

  • How to show more than one record at a form-like style report?

    Hi All,
    I developed a form-like style report
    I want it to show more than one record at once (At the same page)
    I tried that by setting the value to "Maximum records per page" property for the repeating frame to 10
    but when I close the property palete and open it agian the value is returned to 1 !!!
    how to show more than one record at the same page?????
    Thank u

    Hi,
    there's perhaps another property like "page protect". If than 2 records didn't fit at one page there's a page break. Or is there any object inside the repeating frame with page-break properties? Sorry .. it's like looking into a chrystal ball ...
    Regards
    Rainer

  • How to show custom error message in WebADI Excel template?

    Hi,
    I've  created a custom Web ADI integrator and associated it with a 'Procedure' based custom interface.
    WebADI Interface API Returns is set to  "Error Message".
    I'm using  raise_application_error(-20001, "Actual Error Message") for invalid rows,but custom error message from PL/SQL  is not populated on the excel template.
    Instead it is showing "SQL exception occurred during PL/SQL upload".
    Am I missing anything? How to show custom error message from Pl/SQL procedure to WebADI Excel template?
    TIA
    Narasimha

    The custom API errors are visible in the BNE log but not on the Excel.
    BNE Log=>
    12/10/13 2:52 PM Web ADI Upload Job 13008 ERROR          BnePLSQLUpload.doUpload: Exception while uploading to PL/SQL API.  Error Code: 20001, Message: ORA-20001: -Please enter CONTAINER_ID -  Enter PO_NO -
    ORA-06512: at "APPS.XXPO_COSTFACTS_WEBADI_PKG", line 264
    ORA-06512: at line 1
    12/10/13 2:52 PM Web ADI Upload Job 13008 ERROR          BnePLSQLUpload.doUpload: Stack trace: java.sql.SQLException: ORA-20001: -Please enter CONTAINER_ID -  Enter PO_NO -
    ORA-06512: at "APPS.XXPO_COSTFACTS_WEBADI_PKG", line 264
    ORA-06512: at line 1
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:439)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:395)
      at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:802)
      at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:436)
      at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:186)
      at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:521)
      at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:202)
      at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1005)
      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1307)
      at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3449)
      at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3550)
      at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4710)
      at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
      at oracle.apps.bne.integrator.upload.BnePLSQLUpload.doUpload(BnePLSQLUpload.java:284)
      at oracle.apps.bne.integrator.upload.BneSAXUploader.processDeepestLevel(BneSAXUploader.java:2346)
      at oracle.apps.bne.integrator.upload.BneSAXUploader.startElement(BneSAXUploader.java:1182)
      at oracle.xml.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:181)
      at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1288)
      at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:336)
      at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
      at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:234)
      at oracle.apps.bne.integrator.upload.BneUploader.processUpload(BneUploader.java:301)
      at oracle.apps.bne.integrator.upload.BneAbstractUploader.processUpload(BneAbstractUploader.java:114)
      at oracle.apps.bne.integrator.upload.async.BneAsyncUploadThread.run(BneAsyncUploadThread.java:140)
    12/10/13 2:52 PM AJPRequestHandler-HTTPThreadGroup-5 WARNING        BneOracleWebAppsContext.getTimeZone CLIENT_TIMEZONE_ID has not been set
    12/10/13 2:52 PM AJPRequestHandler-HTTPThreadGroup-5 ERROR          BneOracleWebAppsContext.getExtraJDBCConnection recieved the same connection as the base connection.  There may be transaction problems.
    How to show the same error in the excel template?
    Here is the package:
    CREATE OR REPLACE PACKAGE BODY APPS.XXPO_COSTFACTS_WEBADI_PKG
    AS
       PROCEDURE upload_data (
                              P_CONTAINER_ID IN VARCHAR2
                            , P_SAIL_DATE IN DATE
                            , P_PO_NO IN VARCHAR2                     
                             ) IS
        --declare
        lv_err_msg      VARCHAR2(240);
        lf_err_flag     NUMBER := 0;
        ln_temp         NUMBER;
        BEGIN
        --------------------- checking for mandatory parameters---------------------------
          IF (P_CONTAINER_ID IS NULL) THEN
             lf_err_flag := 1;
             lv_err_msg := lv_err_msg||'-'||'Please enter CONTAINER_ID - ';
          END IF;
          -------------Validation for Sail Date Format----------------------
          IF (P_SAIL_DATE IS NULL) THEN
             lf_err_flag := 1;
             lv_err_msg := lv_err_msg || ' ' || 'Enter Sail Date - ';
          ELSE
             BEGIN
                SELECT 1
                  INTO ln_temp
                  FROM DUAL
                 WHERE P_SAIL_DATE =  TO_DATE (TO_CHAR (P_SAIL_DATE, 'DD-MON-YYYY'), 'DD-MM-YYYY');
             EXCEPTION
                WHEN NO_DATA_FOUND THEN
                   lf_err_flag := 1;
                   lv_err_msg := lv_err_msg || ' Enter Sail date in DD-MON-YYYY Format';
                WHEN OTHERS THEN
                   lf_err_flag := 1;
                   lv_err_msg := lv_err_msg || ' Enter Sail date in DD-MON-YYYY Format'|| SQLERRM;
             END;
          END IF;
          -------------Validation for PO_Number----------------------
          IF (P_PO_NO IS NULL) THEN
             lf_err_flag := 1;
             lv_err_msg := lv_err_msg || ' ' || 'Enter PO_NO - ';
          ELSE
             BEGIN
                SELECT count(1)
                  INTO ln_temp
                  FROM PO_HEADERS
                 WHERE Attribute4 =  P_PO_NO;
             EXCEPTION
                WHEN NO_DATA_FOUND THEN
                   lf_err_flag := 1;
                   lv_err_msg := lv_err_msg || ' No Oracle PO for Biceps PO#'||P_PO_NO;
                WHEN OTHERS THEN
                   lf_err_flag := 1;
                   lv_err_msg := lv_err_msg || ' Error getting the Oracle PO for Bicpes PO#'||P_PO_NO||' Error-' || SQLERRM;
             END;
          END IF;
         -----------------------Insert Record----------------------------
         IF lv_err_msg is NULL THEN
         BEGIN
             INSERT
              INTO XXP2P_HW_COST_FACTORS_STG
                     CONTAINER_ID
                    ,SAIL_DATE
                    ,PO_NO
                    , ERROR_FLAG
                    , ERROR_MSG
                   ,CREATED_BY
                    ,CREATION_DATE
                    ,LAST_UPDATED_BY
                    ,LAST_UPDATE_DATE
                    ,LAST_UPDATE_LOGIN              
                VALUES
                     P_CONTAINER_ID
                    ,P_SAIL_DATE
                    ,P_PO_NO              
                    ,lf_err_flag
                    ,lv_err_msg
                  ,FND_GLOBAL.USER_ID
                    , trunc (sysdate)
                    ,FND_GLOBAL.USER_ID
                    , trunc (sysdate)
                    ,FND_GLOBAL.LOGIN_ID              
                  --  commit;
                  DBMS_OUTPUT.put_line
                    '-' || 'After ap_invoices_interface'
            EXCEPTION
            WHEN OTHERS THEN
              ROLLBACK;
              lf_err_flag := 1;
              lv_err_msg  := lv_err_msg || ' ' || 'error loading CONTAINER_ID-' || P_CONTAINER_ID || SQLERRM;
              raise_application_error(-20001, lv_err_msg);
            END;
        ELSE
              raise_application_error(-20001, lv_err_msg);
        END IF;
      END upload_data;                        
    END XXPO_COSTFACTS_WEBADI_PKG;

  • How to show modal window without popup in a web page using javascript

    Hi,
    How to show modal window without popup in a web page using javascript, means when the modalwindow is opened it should not ask for popup blocker alert......
    pls help me.....

    Thanx for ur reply,
    Actually the senario is when i click on a button, another jsp page should be displayed in a modal window without popup, but the functions alert() and confirm() will not accept the url path of the another jsp page...

  • How to show "ALL" Values by default in Page Drop-Down Lists in Pivot Tables

    Hi Everyone,
    Iam stuck with 1 problem please can any 1 help me if u know the solution.
    Here is my problem:
    How to show "ALL" Values by default in Page Drop-Down Lists in Oracle BI Pivot Tables?
    For example, if you place Region in the pages area, a Region drop-down list allows the user to select a particular region, and see the data for only that region, rather than seeing all the Regions,But by default its not showing "ALL" option in the drop down list ,rather than doing that its showing result for only 1 region by default.
    And an other problem with this pages area is, if we palce the multiple attributes in the Pages area in the pivot table, the (Fields)result is showing in vertically, the attributes 1 by 1(Every attribute in a new line) ,rather than showing like that, is there any way to show the results in horizantally?(We want to have it as a seperate drop drown list for every field horizantally not as a concatenated list).

    Thanks Nikhil. But I am fetching the values from the LOVCache.java.
    I am using <af:selectManyChoice>. Is there any way I can use LOVCache.java value for selecting default values instead of hard coding?
    I mean to say can I write
    unselectedLabel="#{LOVCache.entityTypeSelectionList.anyValue}"
    where LOVCache.entityTypeSelectionList is used to populate the drop down box.
    Regards,
    Aseet

  • Whenever i have a mozilla browser on and i try to open another mozilla window browser it work pull up a new window. When close the browser that was on, it will still show up on Task Manager. Whats going on with this?

    Whenever i have a mozilla browser on and i try to open another mozilla window browser it work pull up a new window. When close the browser that was on, it will still show up on Task Manager. Whats going on with this?

    There are other things that need attention:
    Your above posted system details show outdated plugin(s) with known security and stability risks that you should update.
    *Shockwave Flash 10.0 r32
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/

  • How to show all view tab (Main Report and all Sub Report) in Visual FoxPro 9

    I use ActiveX from Crystal Report Developer XI for viewer in Visual FoxPro 9 and I already know how to show Main Report by using command:
    oRptRun=createobject("CrystalRuntime.Application")
    oRptView=thisform.oleRptViewer
    oRptOpen=oRptRun.OpenReport('MyReport.rpt')
    oRptView.ReportSource=oRptOpen
    oRptView.ViewReport
    Inside the MyReport.rpt there is two subreport name :
    1. MySubReport1
    2. MySubReport2
    My Question is :
    How to show all view tab (Main Report and all Sub Report) at the 1st time we call ViewReport?
    I try to using command :
    oRptRun=createobject("CrystalRuntime.Application")
    oRptView=thisform.oleRptViewer
    oRptOpen=oRptRun.OpenReport('MyReport.rpt')
    oRptSub=oRptOpen.OpenSubreport("MySubReport1")
    oRptSub=oRptOpen.OpenSubreport("MySubReport2")
    oRptView.ReportSource=oRptOpen
    oRptView.ViewReport
    but only show Main Report (view tab name : Preview)?
    Did I miss any command before I call oRptView.ViewReport?

    Your right, there is only one tab to view the report.
    To open the subreports you will need to click on them in the main report. I don't know of a way to open them programmatically like you are doing here
    http://diamond.businessobjects.com/robhorne</a>

  • How to show all the search result in a report page

    I have a report page which the user can enter first or last name to find the matched employees. The current report only show maximum of 15 matched results. How to show all of them in one page if more than 15.
    Also, the employee name on the report is a link, how to make the link to be conditional. ( I mean it can be a link or not based on another column)
    Thanks.
    Jen

    Hi, you can change the number of rows on the report definition page (15 is the default value)- that's also where you can change pagination and max. number of rows etc.
    About the second question - you will have to use Case or Decode in your report query and have the value as link or not based on the condition column, something like:
    Select Decode(condition_column, 'link_value', '<a href="f?p=YOUR_APP:PAGE_TO_LINK_TO:'  || :SESSION || ':::::">display_column</a>' , display_column) From .....
    Hope this helps.

Maybe you are looking for