F
Finius Eetch
I'm building a reporting tool that currently exports data to HTML pages based
on custom discipline groups I've setup in the text 3 field. What i'm trying
to do now is extract the group information from the resource sheet and create
custom pages for each GROUP with the disciplines listed.
For example:
I have a resource named "Bob" who is a Physics Programmer.
I have a resource named "Jody" who is an Animation Programmer.
I have a resource named "Tony" who is a Tools Programmer.
I assigned Bob to the Physics Programmer custom text3 field I call Discipline.
Jody and Tony are assigned Animation and Tools respectively.
All of these resources are part of the 'Programming' Resource Group when I
look at Bob, Jody, and Tony under the resource sheet.
I can get a group name from my list by doing:
ActiveProject.Resources(some_number).Group. The problem with doing it this
way, it returns duplicate Group names which would suck since I'm generating
HTML pages for each group name as part of a loop.
I know I could grab,store, and test each resource group to see if I already
have that and build my own list, but there has to be an easy way to just give
me a list of my groups. Programming, Art, Audio, Design, Production.
This will allow me to format my data like this.
Programming
... Physics Programming
... Animation Programming
... Engine Programming
... Audio Programming
... Tools Programming
Design
... Designer
... Writer
... Scripter
... Scenario Editor
Art
... Animator
... Modeler
... etc
... etc.
Currently I'm able to generate custom pages for each 'discipline in the
group on one page since I don't take into account the 'parent' group. I want
to create the parent group with the disciplines listed under it.
In short, how can i get the specific list of ONLY the valid resource group
names?
Thanks,
Finius.
on custom discipline groups I've setup in the text 3 field. What i'm trying
to do now is extract the group information from the resource sheet and create
custom pages for each GROUP with the disciplines listed.
For example:
I have a resource named "Bob" who is a Physics Programmer.
I have a resource named "Jody" who is an Animation Programmer.
I have a resource named "Tony" who is a Tools Programmer.
I assigned Bob to the Physics Programmer custom text3 field I call Discipline.
Jody and Tony are assigned Animation and Tools respectively.
All of these resources are part of the 'Programming' Resource Group when I
look at Bob, Jody, and Tony under the resource sheet.
I can get a group name from my list by doing:
ActiveProject.Resources(some_number).Group. The problem with doing it this
way, it returns duplicate Group names which would suck since I'm generating
HTML pages for each group name as part of a loop.
I know I could grab,store, and test each resource group to see if I already
have that and build my own list, but there has to be an easy way to just give
me a list of my groups. Programming, Art, Audio, Design, Production.
This will allow me to format my data like this.
Programming
... Physics Programming
... Animation Programming
... Engine Programming
... Audio Programming
... Tools Programming
Design
... Designer
... Writer
... Scripter
... Scenario Editor
Art
... Animator
... Modeler
... etc
... etc.
Currently I'm able to generate custom pages for each 'discipline in the
group on one page since I don't take into account the 'parent' group. I want
to create the parent group with the disciplines listed under it.
In short, how can i get the specific list of ONLY the valid resource group
names?
Thanks,
Finius.