T
theintern
I'm looking for a way to see if any tasks remain once a filter is applied.
if there are tasks, i need to edit their constraints. if not, just keep
going through the code (ideally it would create a picture saying "no tasks
for this resource" but i realize that's probably not realistic.) The
annoyance lies in that if there are no tasks and it tries to edit them, it
ends up inserting an extra row. here are the lines of code. the extra row
gets inserted after the "SetTaskField Field" command. Once i go back to
"AllActive" there is now a new black row (a task). Anybody know how to get
around this, besides filtering out all the blank tasks?
'Backfeeds unassigned tasks
FilterApply Name:="Yes"
SelectAll
SetTaskField Field:="Constraint Type", Value:="As Late As Possible",
AllSelectedTasks:=True
FilterApply Name:="All Active"
thanks!
scott
if there are tasks, i need to edit their constraints. if not, just keep
going through the code (ideally it would create a picture saying "no tasks
for this resource" but i realize that's probably not realistic.) The
annoyance lies in that if there are no tasks and it tries to edit them, it
ends up inserting an extra row. here are the lines of code. the extra row
gets inserted after the "SetTaskField Field" command. Once i go back to
"AllActive" there is now a new black row (a task). Anybody know how to get
around this, besides filtering out all the blank tasks?
'Backfeeds unassigned tasks
FilterApply Name:="Yes"
SelectAll
SetTaskField Field:="Constraint Type", Value:="As Late As Possible",
AllSelectedTasks:=True
FilterApply Name:="All Active"
thanks!
scott