Dr. Evil Posted March 29, 2007 Posted March 29, 2007 Need calculation to automatically label Project record “WORKING” or “COMPLETE” depending on the status of Project child Assignments. For example: If any of the child Assignments are labeled anything other then “COMPLETE” then Project calculation field clc_status will be result in “WORKING”. If all assignments are labeled “COMPLETE” then clc_status will result in “COMPLETE”. I have attached a sample file outlining this question. Thank you all in advance, I look forward to your comments! AutoStatus.fp7.zip
mr_vodka Posted March 30, 2007 Posted March 30, 2007 (edited) You can have a on the child table with a quick Calc that returns a boolean i.e. 'cCompleteFlag' Case ( txt_status <> “COMPLETE”; 1 ) Then for your calc for projects have it be Case ( not Sum ( Assignments::cCompleteFlag); "Complete"; "Working" ) Edited March 30, 2007 by Guest
Dr. Evil Posted March 30, 2007 Author Posted March 30, 2007 THANK YOU FOR THE SOLUTION! I have attached the WORKING file for anyone who would like to use this technique! AutoStatusFIX.fp7.zip
maulanday Posted March 30, 2007 Posted March 30, 2007 Along these same lines, the user checks a box indicating the project is complete. Is there a way to automatically change the a drop down box field with value list of project status to complete? Does that make sense? Thanks!
mr_vodka Posted March 30, 2007 Posted March 30, 2007 Irregardless of using a value list of just an edit field, you can make it have an auto calculated result of something like If project is a boolean flag that returns 1 if checked, then you can use in your project status field... Case ( project; "complete") If not then, Case ( project="complete"; "complete")
maulanday Posted March 30, 2007 Posted March 30, 2007 (edited) Thanks for your response Mr. Vodka. I am sorry for not being clear with my question. I have attached a picture of what I am trying to ask. Thanks again for your help. Edited March 30, 2007 by Guest
Dr. Evil Posted April 2, 2007 Author Posted April 2, 2007 Hello, I have attached a new modified model file. I "believe" I have accomplished Mr. Vodka's instructions. It is set up now so that you can select any value you want for project status unless it is marked "Followedup". Hope this helps. AutoStatusFIX_02.fp7.zip
Recommended Posts
This topic is 6506 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now