tasks creating in PSI (MS Project 2007)

C

Cutter

You have to add a new taskrow.
Create a task row using your project dataset.

newRow = ProjectDS.Task.NewTaskRow()

Add you values to this task row.
Then add your new task row to project dataset.

ProjectDS.Task.AddTaskRow(newRow)

Then update your project using the project dataset with QueueAddToProject().
 
N

Nat Fisher

I use Delphi 7 for integrating with Ms Project 2007 and I don't see the
methods of ProjectDataSet.TaskDataTable class in the structure of WSDL
Components. So when I call NewTaskRow I get message that the method not found.
 
S

Stephen Sanderlin [MVP]

This is because NewTaskRow isn't a method of the web service -- it's a
method of the TaskDataTable class, which is part of the proxy class
generated by Visual Studio when you add the web reference for the
Project web service. I'm not sure what the analogous functionality is in
Delphi 7.

--
Stephen Sanderlin, Project MVP
VP of Technology
MSProjectExperts

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

Read our blog at: http://www.projectserverhelp.com

Learn | Connect | Grow @ The Microsoft Project Conference Phoenix, AZ -
September 14-17, 2009
 

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