Modify a custom field that references a lookup table

M

Morne Taljaard

Hi there,

I'm trying to change the value of a custom field in VBA (Project 2007),
that references a lookup table, but I keep getting an error "An
unexpected error occurred with the method"

I'm using the following piece of code:

Call
ActiveProject.ProjectSummaryTask.SetField(FieldNameToFieldConstant("SETA
Project Number"), "Status.Approved")


- SETA Project Number is the custom field
- In Status.Approved, Status is the lookup table and Approved one of the
lookup values.

Thanks
Morne
 
M

Morne Taljaard

I got this working.

The problem was me! I need to learn how to spell, read and compare
values. One bloody underscore......

lol
 

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