J
Jon Stoackley
Hi,
I'm having a problem accessing the timescale values for tasks within a
project.
I can create a timescalevalues collection for the resource assignment to the
task and I can read most of them by saying "For each TimescaleValue in
TimescaleValues". This works most of the time - however some tasks seem to
have a timescalevalue that although it has a valid date, throws an exception
when you attempt to read it. Specifically it's the get_Value method that
fails with an unspecified exception message.
I've tried checking for timescale values that are nothing, but that doesn't
seem to filter it.
I've also tried the IsNumeric function and using a try - catch statement to
discard any values that can not be resolved to numbers.
Can anyone out there shed any light on this?
Thanks,
Jon.
I'm having a problem accessing the timescale values for tasks within a
project.
I can create a timescalevalues collection for the resource assignment to the
task and I can read most of them by saying "For each TimescaleValue in
TimescaleValues". This works most of the time - however some tasks seem to
have a timescalevalue that although it has a valid date, throws an exception
when you attempt to read it. Specifically it's the get_Value method that
fails with an unspecified exception message.
I've tried checking for timescale values that are nothing, but that doesn't
seem to filter it.
I've also tried the IsNumeric function and using a try - catch statement to
discard any values that can not be resolved to numbers.
Can anyone out there shed any light on this?
Thanks,
Jon.