Calculated Status Field

moore020

Registered User.
Local time
Today, 14:15
Joined
Sep 4, 2014
Messages
25
Can anyone tell me how to create a calculated field that does the following:

I have a table that has about 4000 records in it. An asset can be listed in the table multiple times but I need to change the a status to "Dead" if any record with the same asset id has an action of "Kill".

Any ideas?
 
Need more information. Show us some structure along with your description.


- [FieldName]
- [FieldName]

Some Examples of records.

Example of required outcome.

Thanks!
 
Table: [Details]
- Field Name [ProjectNumber]
- Field Name [Action]

ProjectNumber Status Action 100002.0004.AC.ABCEFGHIJKLMN Dead NEW 100002.0004.AC.ABCEFGHIJKLMN Dead INCREASE 100002.0004.AC.ABCEFGHIJKLMN Dead DEOB

In cases where the project number is the same, if there is a DEOB action, the status would be dead.
 
I cannot follow the format of the example of records, could you space each individual record on new line?
 
ProjectNumber Status Action
100002.0004.AC.ABCEFGHIJKLMN Dead NEW
100002.0004.AC.ABCEFGHIJKLMN Dead INCREASE
100002.0004.AC.ABCEFGHIJKLMN Dead DEOB
 
The status field where each one of them is showing as dead is the desired outcome and it is dead because one of the actions was deob. Basically, if an asset get a deob action then it needs to show as dead.
 
Create an update query.
Put "kill" as the criteria of the Action field and update the Status field to "dead".
Run the query (!) to update.

I suggest you to create a Status table and in the original field to put the status key, not a text.
 

Users who are viewing this thread

Back
Top Bottom