EPM 2007 - Retriving Custom Field ID in VBA

H

Hiral

Hi,

In 2003 , by using pjCustomTaskEnterpriseText we could retrive this fileds
field ID.

I want to know on similar lines , that if a custom field is created in 2007
, then how can we retrive the Field ID.

Note: the pjCustomTask.. method is avaible in 2007 but to which text field
is it linked is not known.

Could ne 1 plz help me on this..

Thnx..
 
H

Hernandezz

Hi,

In 2003 , by using pjCustomTaskEnterpriseText we could retrive this fileds
field ID.

I want to know on similar lines , that if a custom field is created in 2007
, then how can we retrive the Field ID.

Note: the pjCustomTask.. method is avaible in 2007 but to which text field
is it linked is not known.

Could ne 1 plz help me on this..

Thnx..

Hi Hiral,

try thome thing like that:

GET: valor = ActiveProject.ProjectSummaryTask.GetField
(FieldNameToFieldConstant(”Name_of_field “))

SET: Call ActiveProject.ProjectSummaryTask.SetField
(FieldNameToFieldConstant(”Name_of_field”), “New_Value”)
 

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