Our Knowledge Base covers a wide variety of technical topics, from the basic to the complex.
Knowledge Base
If I have a Projects table and a Tasks table where each Project record has many Task records how do I automatically indicate that the Project is completed when the "Status" field in all the related tasks are marked "Completed"?
Create two summary fields in the Projects table. The first summary field will be labled "Number of Tasks". It should be configured to count the number of Tasks. The second summary field should be labeled "Number of Completed Tasks". It should be configured to also count the number of related Tasks with a condition to include only the Task records where the "Status" field is "Completed". Then create a third field of type Checkbox - Formula in the Projects table. Call this field "Project Complete". The formula for this field would be:
[Number of Completed Tasks] = [Number of Tasks]
Now you have a checkbox field that automatically gets checked when there are no uncompleted tasks related to a Project.
If you don't want the "Project Complete" field to be checked when you create a Project without any related tasks then change the formula to the following:
if([Number of Tasks] <> 0, [Number of Completed Tasks] = [Number of Tasks])
- 34622 reads
Rate This
Similar Articles
Browse by Category
Knowledge Base Categories
- Accounts (35)
- Application (45)
- E-Mail (7)
- Fields (41)
- Forms (20)
- Formulas (18)
- General (68)
- Other Product (7)
- Pages (1)
- Product (5)
- Reports (15)
- Roles (4)
- Search (1)
- Tables (6)



Comments
RE: whcich fields should be
Hello,
For this setup, the only field you'll need is a Status field on the Tasks table. If you get stuck setting this up, you can visit support.quickbase.com and open a support case to get assistance with it.
Thanks!
Brian
Intuit QuickBase
whcich fields should be
whcich fields should be included in project table?
Post new comment