Can't get Custom Fields to work.

K

Kishor Patil

Hi all,

I was experimenting with MSP 2003 (specifically with
Custom Task Fields).
I customized Text1 field for Task and renamed it
so "Sample" with Value list as "T1", "T2", and "T3".
Added a single task and saved the project in MDB format.
Then Externally, I edited the MDB file and added a record
in MSP_TEXT_FIELDS as follows:
PROJ_ID TEXT_CATEGORY TEXT_REF_UID TEXT_FIELD_ID
TEXT_VALUE
1 0 1
188743731 T1

I also changed the ATTRIB_EXT_EDITED field for all the
records in MSP_FIELD_ATTRIBUTES to -1 as follows:
RESERVED_DATA PROJ_ID ATTRIB_FIELD_ID ATTRIB_ID
ATTRIB_VALUE AS_ID ATTRIB_EXT_EDITED
1 188743731 206 -1
1 -1
1 188743731 210 -1
2 -1
1 188743731 217 1
-1 -1
1 188743731 218 -1
3 -1
1 188743731 219 -1
4 -1
1 188743731 222 0
-1 -1
1 188743731 223 2
-1 -1

Now when I open this MDB in MSP2003, the value T1 for my
Task does not reflect my change.
Can you please help me identifying the problem.
Is there something that I am missing.

Awaiting your help.
 
R

Rod Gill

HI,

read the file pjdb.htm in one of Project's program folders. It tells you
what to do and which flags to set. I think you set way too many flags and
missed the correct one!!

--
For VBA posts, please use the public.project.developer group.
For any version of Project use public.project
For any version of Project Server use public. project.server

Rod Gill
Project MVP
For Microsoft Project companion projects, best practices and Project VBA
development services
visit www.projectlearning.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