YehudahGreenber
8 years agoQrew Assistant Captain
Task Condition html for Date Completed
In Project Manager, I'm using HTML to link the Task Condition buttons to Start and End Dates, as opposed to the manually updated "status" menu. This way, the "inactive" button will appear automatically when a task is marked complete. Trouble when I try use the "actual end date" as a trigger, because apparently, while it's undefined it has infinite value, and therefore every argument is true.
Here's the code: If
(Today()>=ToDate([Date Complete]) and ToDate([Date Complete]) >= (ToDate([Projected Finish])), "<img src=\"https://images.quickbase.com/si/16/220-point_gray.png\"; title=\"Inactive\">"
No matter how many "and's" I add, "Date Complete" is dominant, and I get the grey button, apparently because until the user manually enters the date, it is undefined and therefore has all values. Is there a way around this?
Here's the code: If
(Today()>=ToDate([Date Complete]) and ToDate([Date Complete]) >= (ToDate([Projected Finish])), "<img src=\"https://images.quickbase.com/si/16/220-point_gray.png\"; title=\"Inactive\">"
No matter how many "and's" I add, "Date Complete" is dominant, and I get the grey button, apparently because until the user manually enters the date, it is undefined and therefore has all values. Is there a way around this?