Project03 Flag Field anomaly

D

dgmoore

I have a process that exports data from Access to Project and generates
Gantts automatically using automation.

This process includes a procedure that inserts a row into the Project
file and sets its Flag15 to Yes. The procedure works correctly on my
workstation, but on two workstations at a different location the
procedure errors out on the line that sets Flag15. The error occurs
only When the process is launched directly on the workstations in
question: if I connect to these workstations from my own location via
remote desktop connection, the error does not occur.

Today I traveled to the other location, logged on, and launched the
process. Sure enough, the error occurred at the line in question. I
examined the Project file and found that - only for the line just
inserted by the process - the Flag15 field is grayed out and cannot be
set either manually or by code. The Flag15 field in all of the other
visible records behaves normally.

I tried substituting several other flag fields and discovered that any
flag other than Flag15 behaves normally.

My workaround for this is to simply use another flag field; however, my
curiosity remains - what could there be about Flag15 in a task row
inserted in a Project file that behaves in this manner?

The sole difference in the environments is that my workstation uses
Project03 Standard and the problem workstations use Project 03 Pro, but
the error occurs only when the app is launched on the problem
workstations.

Does anybody have any thoughts on this?

Dave
 
R

Rod Gill

Hi,

In '03 Pro SP 2 I can insert tasks and set Flag15 with no problem. Do you
have SP2? If not download and upgrade and see if the problem remains.
 
B

Bill Bordiuk

How are you doing the insertion? Are you adding a task to the tasks
collection and then modifying it or are you trying to automate Project's
user interface? Sometimes Project gets confused when you're trying to change
a field that is highlighted. It's like it won't let you edit the field
because it's already being edited.

Is there some kind of local customization of the flag? I've seen a problem
like this when a flag was set up to be derived from a formula and I didn't
know about it.

Bill B
 

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