Filtering-find tasks that include a particular resource in subtasks? MicrosoftProject 2010

Hello everyone,
I'm actualy working on a project on MicrosoftProject 2010. I met a problem when I would use the filter. I will try to explain:
My project is built as below:
Task A
sub task A/resource Bert
sub task A/resource ERNIE
sub task A/resource Ralph
Task B
sub Task B/resources ERNIE
Sub task B/resource Ralph
Task C
Sub Task C/resource Bert
Sub Task C/resource Ralph
I want to present to Ernie all the projects he's involved in, showing all the sub tasks. In this case it would be Task A and all three sub tasks, and Task B and both sub tasks. Task C and its sub tasks would be filtered out since Ernie is not involved at all.
I tried all the options that I am able to do so I really need an help . I would precise that I've a lot of tasks and sub tasks in the project and it would be unthinkable to do by hand each time I've to present the project to one of my coworker.
Somebody advise me to use Excel to filter but I would like to keep the Project presentation and all the link of the planification. Therefore they propose to use a code in Microsoft Project.
Unfortunately I've some difficulties for coding but I can understand it. It just lack me the framework and i'll try the rest. It's for why I post on this forum. Does somebody can help me?
Thank you in advance.
Grub'

Grub,
I tried a couple of things with grouping and filtering but couldn't come up with anything to meet your criteria so I wrote this macro. It's a little crude but it does what you want.
Option Compare Text
Sub ResNamAndSumm()
Dim t As Task
Dim ch As Task
Dim Nam As String
'first clear all tasks from previous run
For Each t In ActiveProject.Tasks
    If Not t Is Nothing Then
        t.Flag1 = False
    End If
Next t
'request resource name
Nam = InputBox("Enter resource name")
FilterEdit Name:="grub", taskfilter:=True, create:=True, overwriteexisting:=True, _
    FieldName:="Resource Names", test:="contains", Value:=Nam, ShowInMenu:=False, showsummarytasks:=False
FilterApply Name:="grub"
SelectAll
'find tasks with resource, set flag for task and it's parent
For Each t In ActiveSelection.Tasks
    If Not t Is Nothing Then
        t.Flag1 = True
        t.OutlineParent.Flag1 = True
    End If
Next t
FilterApply Name:="all tasks"
'go back and set flag for all sibling tasks
For Each t In ActiveProject.Tasks
    If Not t Is Nothing Then
        If t.Summary = True And t.Flag1 = True Then
            For Each ch In t.OutlineChildren
                ch.Flag1 = True
            Next ch
        End If
    End If
Next t
'apply final filter
FilterEdit Name:="grub1", taskfilter:=True, create:=True, overwriteexisting:=True, _
    FieldName:="Flag1", test:="equals", Value:="yes", ShowInMenu:=False, showsummarytasks:=False
FilterApply Name:="grub1"
End Sub
Hope this helps.
John

Similar Messages

  • Can I create a task that includes 2 C series modules?

    I am trying to create a single task that includes 2 NI-9425 C series modules but when I wire the physical channel constant "Mod3/port0, Mod4/port0" into the DAQmx Create Virtual Channel.vi I receive error -200086 which states physical channel range syntax in the input string is invalid because multiple devices were listed in the string.  It is my understanding from LabView help that multidevice tasks are allowed.  Also according to this KB article http://digital.ni.com/public.nsf/allkb/CF85114C6025C84C862571C000722DDA multi-device tasks are supported for S Series devices, C Series, and DSA devices, and according to this KB article http://digital.ni.com/public.nsf/websearch/78E44565FD87E7D686257108007F94F8?OpenDocument I have formatted my physical channel constant correctly.
    Can someone please explain why I am getting this error when all indications are that this should be a simple thing to do?
    My C series modules are in slots 3 and 4 in a cDAQ-9188 chassis, I am currently running LabView 8.5.1, with Windows XP
    Thank you,
    Eric
    Solved!
    Go to Solution.

    Hi Eric,
    I'm afraid that you can't configure hardware timing with the NI 9425 in CompactDAQ. The NI 9425 data sheet explains: "The NI 9425 is a static digital module, so you can use it to perform software-timed or static operations only when installed in an NI CompactDAQ chassis."
    For AI, AO, and counters, daisy chaining multiple calls to DAQmx Create Channel is equivalent to specifying a list of physical channels, but for DIO it's different. A single DIO virtual channel can contain multiple physical channels (lines). It would be completely reasonable to assume that specifying a list of lines with "one channel for all lines" would cause DAQmx to put all of the lines in a single virtual channel, but due to how it's implemented in the DAQmx framework, this is not possible when the lines are on multiple devices. It would also be reasonable to assume that if DAQmx couldn't put all of the lines in a single virtual channel, then it would create one virtual channel per device, but that's also not how it's implemented--it returns the error that you received.
    Instead, here are two approaches to putting all 64 lines in one task. Either one should work.
    Approach A: Create a single task, containing two virtual channels (MyChan0 and MyChan1). MyChan0 contains cDAQ1Mod3/port0/line0:31 and MyChan1 contains cDAQ1Mod4/port0/line0:31. The Digital 2D Bool NChan 1Samp read VI returns a 2x32 array of Booleans. To flatten this into a 1D 64-element array, you need to use Reshape Array or some other method.
    The DAQmx Task >> Channels property is there to show that there are two virtual channels named MyChan0 and MyChan1. Also, I used a for-loop to show that you don't have to hardcode multiple calls to DAQmx Create Channel. The "one channel for all lines" constant is redundant because that is the default.
    Approach B: Create a single task, containing 64 virtual channels (MyChan0 through MyChan63). This uses the "one channel for each line" constant, which is not the default. MyChan0 contains cDAQ1Mod3/port0/line0, MyChan1 contains cDAQ1Mod3/port0/line1, etc. The Digital 1D Bool NChan 1Samp read VI returns a 1D 64-element array of Booleans. If you used the Digital 2D Bool NChan 1Samp VI instead, you would get a 64x1 array because there are 64 virtual channels containing 1 line each.
    Brad
    Brad Keryan
    NI R&D

  • Finding all photos that include a particular person whether their face appears or not

    Faces is a great way to locate all photos where someone's face appears.  But what about photos that the person is in, but their face is not (e.g., the photo was taken from behind the person)?  What's the best way to tag photos so that I'll be able to have all photos that contain Person X together, whether their face is in the photo or not?  (Note: I know I could use Faces to add a face to the back of someone's head - that would get that picture to appear in Faces for that person, but would likely mess up the face recognition for that person).
    My current thought is to use keywords to tag those photos with the names of people who appear in photos without their face showing.  I could then create a Smart Album that includes all photos that contain a Face or Keyword for Person X.  Is there a better way to accomplish this?

    (Note: I know I could use Faces to add a face to the back of someone's head - that would get that picture to appear in Faces for that person, but would likely mess up the face recognition for that person).
    That will not mess up the face recognition. iPhoto will only use the faces that have been automatically found by iPhoto to learn the parameters for the recognition of the person. So you can include any part of the person to get the photot in the Faces stack on the cork board.
    My current thought is to use keywords to tag those photos with the names of people who appear in photos without their face showing.  I could then create a Smart Album that includes all photos that contain a Face or Keyword for Person X.  Is there a better way to accomplish this?
    That is fine, but does not give you access by using the Faces view.

  • What is the quickest way to find reports that run a particular DB?

    Hi,
    I have numerous reports running on multiple database. What is the quickest way to find all reports running on a particular Database?
    I am new to this and do not have much idea.
    Any information is appreciated!
    thanks
    shankar

    Hello Shanka,
    If you are talking about Crystal Reports
    I recommend to post this query to the [Crystal Reports Design|SAP Crystal Reports; forum.
    This forum is dedicated to topics related to the creation and design of Crystal Report documents. This includes topics such as database connectivity, parameters and parameter prompting, report formulas, record selection formulas, charting, sorting, grouping, totaling, printing, and exporting but also installation and registering.
    It is monitored by qualified technicians and you will get a faster response there.
    Also, all Crystal Reports Design queries remain in one place and thus can be easily searched in one place.
    Best regards,
    Falk

  • Sql Query To Find Out list of users not having a particular resource provisioned

    Hi,
    I know the query for all the resources tagged to user with their account status.
    Can anybody help me with a query to fetch just the user details for the following scenario:
    1)Active users having  having no instance of a particular resource.
    Condition: Exclude Active users having one provisioned instance of the resource and fetch user details having no provisioned account for that resource .
    it is just for report purposes.So format is not of concern.Just need the list of users not having a single provisioned account for a particular resource.

    Hi,
    Please try the below query :
    select distinct usr.usr_login from USR,OIU where USR.USR_KEY not in (select OIU.USR_KEY from OIU)
    and OIU.APP_INSTANCE_KEY= (select APP_INSTANCE_KEY from APP_INSTANCE where APP_INSTANCE_NAME='ADResource');
    Change the app instance name acording to you need.
    -Saurabh

  • How to find out that particular structure is used in which tables

    Hello Friends,
    Most of the times through techinal information we come to know the table name for a particular field.And in se16 when i give that table name than system says its structure and not the table.So in se11 when i give that structure name in database table field, its shows all the field in that structure, but not the data stored in that field.
    So my question is how to find out that particular structure is used in which tables,so that i can view data stored in that structure?
    Thanking you guys in advance.
    Regards,
    Jitendra

    Dear,
    When you click on the technical information it will give the structure name and field, double click on the structure and it will take you the display structure screen, there you will have the where-used List icon (Ctrl + Shift + F3) at the top , click on that and it will show the options, select Database tables and execute, it will give the tables related to the structure, you can explore the list of tables and find where your required field is stored in them.
    Thanks & Regards,
    Vijaya Bhaskar A

  • Where can i find a "plug-in" or "add-on" that includes electrical construction symbols?

    where can i find a "plug-in" or "add-on" that includes electrical construction symbols?

    For what?
    The comment and markup types are fixed, you can't create your own - but there's nothing to stop a user from creating a series of custom stamps that show a symbol from a bitmap image or vector (PDF) file.

  • How do I find my serial number without cd case that included it? [was: x]

    how do I find my serial number without cd case that included it?

    Find your serial number quickly
    Mylenium

  • Just got a Canon G7 x only to find that lightroom 5 and PS6 don't support the camera RAW that it produces. Tried the Camera raw 8.7 and that didn't help. Will there be an update that includes this camera?

    Just got a Canon G7 x only to find that lightroom 5 and PS6 don't support the camera RAW that it produces. Tried the Camera raw 8.7 and that didn't help. Will there be an update that includes this camera?

    I'm sure there will be support for the camera eventually. But Adobe never announces that information in advance. It's possible that it could be added to the 8.7 final release and to the next update of Lightroom. But that depends on the timeline and if the engineers were able to get the camera in time to create profiles. You'll just have to wait and see.

  • Find all fmb's that include a pll.

    I have a few hunderd forms.
    And one specific library.
    Is there an easy way to quickly indentify the fmb's that have this particular pll attached?
    I don't want to open each one of them in the builder, then click on libraries and scan for my library...
    Thanks,
    Toon
    Edited by: Toon Koppelaars on Feb 16, 2010 11:13 AM

    Toon,
    I would suggest renaming your pll file and then batch recompiling all your forms.
    The forms that don't compile should be the ones that have the pll attached.
    Or there's the forms API / ORCL-Toolbox / Caffo / etc searching tools.

  • Finding tables that contain a column

    Hi all,
    I am a relatively new SQL user and am trying to figure out how to find all tables that contain a particular column, eg, 'cust_id'. I have tried a bunch of different things and searched on Google but I think I don't quite have/understand the syntax I need.
    Also, how would I display a list of all the columns in all the tables?
    Thanks!

    Hi,
    apex wrote:
    Thanks for the input! I got my first question working.
    I am still trying to understand basic ideas in SQL, eg what is the all_tab_columns in Raj's link, as usually I call something from a particular table. All_tab_columns is a view in the sys schema. There are several tables and views in the sys schema whose names start with user_ or all_ (or dba_, but you may not have privileges to see those) which are collectively called the Data Dictionary . They contain information about the database itself, including the tables in the database.
    It states there that the ANALYZE command can be used to gather statistics for this view, but I have not been able to get it working.
    Eg, in Oracle SQL Developer, I type in "help <analyze>" but it doesn't tell me what the syntax of this command is, I had to use Google which gives the following
    To estimate statistics:
    ANALYZE TABLE tablename ESTIMATE STATISTICS SAMPLE 30 PERCENT;
    To compute statistics:
    ANALYZE TABLE tablename COMPUTE STATISTICS;
    But when I try the last one it just says
    table CUSTOMERS analyzed.
    but I don't see any output, and if I try to use ANALYZE all_tab_columns; it gives me an error message. When you analyze a table, a message like "table CUSTOMERS analyzed" is all you expect to see. The main purpose of anlyzing isn't to produce a report for you to read (as helpful as thant might be) but to update the data dictionary, so that Oracle knows how to do queries efficiently. For example, if you have a query like
    SELECT  *
    FROM    patients
    WHERE   birth_date  = DATE '1981-07-28'
    AND     state_abbr  = 'NY';How does the system decide whether to look for rows with the right birth_date first, or the right state? The statistics in the data dictionary might tell it that birth_date has many more ditinct values, so looking for a particular birth_date first will narrow down the search much faster than looking for a particular state.
    By the way, the ANALYZE command has been deprecated. Unless you're using a very old version of Oracle, you should be calling the dbms_stats package instead:
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/d_stats.htm#CIHBIEII
    I am using Sam's teach yourself SQL in 10 minutes which is very good at the very specific commands and functions it describes but doesn't really orient me to the language, doesn't explain how to use the help functions, or any treatment of tasks not contanied in the book. If someone can recommend another source would appreciate it. Much thanks!That's the frustrating thing about books; you can't ask them questions. (On the other hand, that's one of the nice things about this forum.)
    I can understand why the book doesn't say much about analyzing. The book is about SQL (e.g., how to create a table or write a query). Statistics are not in the scope of that book. Actually, they're not really in the scope of this forum, either. If you have questions about statistics, you're better off posting them in the "Database - General" forum:
    General Database Discussions

  • Web Service Task - that accepts XmlNode Input

    I'm creating an SSIS package that uses a web service method called "GetReportResults" ). The input parameters are:
    username (string)
    password (string)
    reportid (int)
    templateValues (xmlnode)
    When I run the package, how do I input the values for the xmlnode? The web service documentation shows an example that says I need to pass in the templateValues (filters) like this for the xmlnode:
    <FilterItems>
    <FilterItem FilterItemId="62898" FieldTitle="Date Modified" Operator="GreaterThan" Value="" IsTemplate="true" />
    <FilterItem FilterItemId="62899" FieldTitle="Date Modified" Operator="LessThan" Value="" IsTemplate="true" />
    <FilterItem FilterItemId="62900" FieldTitle="Date Modified" Operator="GreaterThanOrEqualTo" Value="8/13/2013 12:00 AM" IsTemplate="false" />
    <FilterItem FilterItemId="62901" FieldTitle="Status" Operator="DoesNotContain" Value="" IsTemplate="true" />
    </FilterItems>
    How do I go about setting this up so that when the package runs the templateValues are automatically input? Is there some sort of XML task that will accomplish this? If so, how would I implement this.

    I did find find this in the web service documentation: 
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0.0">
    <xs:element name="FilterItems">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="FilterItem" minOccurs="1" maxOccurs="unbounded">
    <xs:complexType>
    <!-- Set the inner text to the appropriate value -->
    <xs:simpleContent id="Value">
    <xs:extension base="xs:string">
    <!--
    You must use either the FilterItemId or the FieldTitle
    -->
    <xs:attribute name="FilterItemId" type="xs:integer" use="optional"/>
    <xs:attribute name="FieldTitle" type="xs:string" use="optional"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:schema>

  • How to configure Reconciliation only for a particular resource

    Hi All,
    I have a requirement to configure target reconciliation from AD only for a client. For that i have installed the conector as per documentation (both prov and recon). Now how can i make sure that:-
    1. When i disable/enable the user in OIM, corresponding target resource will not be disabled/enabled.
    2. If i make any changes on resource form corresponding change should not flow back to AD.
    Does removing the prov related jar able to ensure these things or i need to remove the corresponding prov lookup or any changes required in configuration lookup? Please suggest...TIA

    Change the drop down option to "Disable Process..."
    Attach tcComplete event handler there.
    In Task to Object Status Mapping, select Disabled in front of completed.
    Now suppose user is PROVISIONED to a resource say Test. So whenever user gets DISABLED in OIM, it will disabled the target resource Test. But in actual the target resource will not be disabled for that user. He/She can access that resource after getting disabled as you haven't put the logic to disable the target resource (as you have used tcComplete here).
    As you are saying that it should show disabled only if Disabled is coming from Trusted Resource. Then it's fine till now.
    If you don't want to show status as Disabled then in Task to Object Status Mapping, do not select Disabled in front of completed. In this case, it will show status as PROVISIONED only. This is wrong.
    I'll try to understand what you have written here ->
    BUT NOW THE ISSUE. IT DISABLED MY ASSOCIATED RESOURCE (not in target resource actually but on oim side under resources tab). THIS IS ACTUALLY NOT DESIRABLE.
    - > It will do as you are using tcComplete. If you put your java code which disables the target resource in integration tab (in form of process task adapter instead of tcComplete) then it will disables the actual target resource for user.
    REAL REQUIREMENT IS THAT FOR NOW (*till provisioning is not configured*) OIM DISABLE SHOULD NOT INVOKE THE DISABLE OF ASSOCIATED TARGET RESOURCE NOR IT CHANGED THE STATUS UNDER RESOURCES TAB FOR PARTICULAR RESOURCE. THE STATUS UNDER RESOURCES TAB SHOULD ONLY BE CHANGED WHILE RECONCILIATION.
    -> As you have written, "Till provisioning is not configured", So if provisioning is not configured then it will not show disabled under Resource tab for that particular resource.
    You can see disabled only after resource is provisioned to that user.
    If this doesn't answer your question, it would be better if you explain your requirement clearly. It's not clear.

  • Non-working time for particular resources

    I have reviewed the suggested answers and they don't seem to fit my case.   Project 2013 Pro.
    I have a particular resource who takes three days off. These days occur in the middle of an 8 day task, fixed duration, on which he is only working 20%. He has his own calendar to deliver this information and I have checked that the days off display in Resource
    Sheet/Resource Information  for that person.  The fact that he takes off three days is not shown by the bar in Gantt view. (standard time off is set to 'behind task bars'). 
    If I temporarily change his commitment to 100%, the calculated hours in the task form are 40, showing that the software is recognising his time off, since otherwise it would be 8x8=64. The gap in his work time still doesn't show.  
    Is there a way to show the gap so that I know (well, remember) he is not around for those three days?
    Cheers
    Alan 

    TeamPlanner view shows the resource's nonworking time as it is seen below: 

  • Best Practice Question Re: Tasks That Actually Finished before Predecessors in a Baselined Schedule

    Hindsight is indeed 20/20, but here is the situation:
    Set of Tasks A (Design IDD Tasks) - These tasks are not complete and are, in fact delayed
    Set of Tasks B (ARC Tasks) – In the baseline, they have Set of Tasks A as their immediate predecessors – some are marked as complete and I made those updates
    Set of Tasks C (Tasks that Depend on ARC Tasks) – in the baseline they have Set of Tasks B as their immediate predecessors
    The Problem is delays to Set of Tasks A currently do not affect Set of Tasks C (Tasks that Depend on ARC Tasks) – and they should. I am looking for the best way to make Set of Tasks C reflect delays from Set of Tasks A, given that the project has been
    baselined with a certain set of predecessors and successors.

    Leslie - If you are looking for videos, you can try this. I delivered ten webinars on Microsoft Project 2010 last year and its recordings can be played for
    free. 
    Session 1: Ready. Set. Go. Preparing Project :
    http://goo.gl/yWVGn
    Session
    2 : How to change working time and set holidays in Project 2010?
    http://goo.gl/QTRds  
    Session 3 : Structure the schedule by WBS and task
    dependencies http://goo.gl/SPqkM  
    Session 4 : Setup people, cost and material resources
    in Project 2010 http://goo.gl/lBTUF  
    Session 5 : Assigning resources (people and material)
    and costs (fixed,variable) http://goo.gl/PPI18  
    Session 6 : Convert draft schedule to optimal schedule
    that meets stakeholders requirements http://goo.gl/ptdTl  
    Session 7: Keeping Your Project on Track by Leveraging
    the Baseline Features of Project 2010 http://goo.gl/TM8Gv   
    Session 8: Track project actual against project baseline
    information http://goo.gl/ZWJxP  
    Session 9 : Report project performance through Reporting
    Features http://goo.gl/CC76e  
    Session 10: Sharing Resources across Projects
    http://goo.gl/JkZU01
    Sai PMI-SP, MCTS Project, MVP Project

Maybe you are looking for