How to access Baseline finish date

L

Liam

I am trying to access the baseline finish date for a task.
I am using the web services to read a list of projects, then access it's
tasks.
When i call the task baseline finish date, it returns the date the baseline
was created, not the baseline finish date.

here is my code:

//DateTime mBaselineProjectFinish =
(DateTime)pds.Task[0][projectListDS.Task.TB_FINISHColumn.ColumnName];

TB_COSTColumn gives me the Baseline Cost, so i assumed TB_FINISHColumn would
give me the Baseline Finish date.

Can anyone help me?
 
S

Stephen Sanderlin

I'm not seeing this behavior... strange.

As an aside, you can just use pds.Task[0].TB_FINISH and TB_COST (which
should already be DateTimes) instead of TB_FINISHColumn.ColumnName and
TB_COSTColumn.ColumnName and casting to a DateTime.

--
Stephen Sanderlin
VP of Technology
MSProjectExperts

For Project Server Consulting: http://www.msprojectexperts.com
For Project Server Training: http://www.projectservertraining.com

Read my blog at: http://www.projectserverhelp.com
Join the community at: http://forums.epmfaq.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top