gandalf
11-05-11, 04:27 AM
Not sure that this fits in this forum, but I didn't see one that made more sense. I'm trying to update project_department for all our projects (up until now, only one department was using dP). I tried the following SQL:
UPDATE dp_projects
SET project_department=1
WHERE project_department=0
When I view the table data, all projects now have 1 in the project_department field. However, if I view a project, nothing (blank) is selected in the Departments drop-down (the departments do appear in the drop-down list).
A similar change to the field project_company_internal was reflected in the Internal Division drop-down, though in this case I was changing the values to NULL.
Do I need to update an additional field or two somewhere?
Not feeling particularly wizardy today. :)
Thank you!
UPDATE dp_projects
SET project_department=1
WHERE project_department=0
When I view the table data, all projects now have 1 in the project_department field. However, if I view a project, nothing (blank) is selected in the Departments drop-down (the departments do appear in the drop-down list).
A similar change to the field project_company_internal was reflected in the Internal Division drop-down, though in this case I was changing the values to NULL.
Do I need to update an additional field or two somewhere?
Not feeling particularly wizardy today. :)
Thank you!