mcbradford Posted March 3, 2005 Share Posted March 3, 2005 I know this is simple, but I just cannot get it. Fields UpperValue, LowerValue, EnteredValue, PassFail If EnteredValue is between the range of UpperValue and LowerValue, "Pass", otherwise "Fail". If nothing entered in UpperValue, LowerValue or EnteredValue, "Null". Thanks Link to comment Share on other sites More sharing options...
Maarten Witberg Posted March 3, 2005 Share Posted March 3, 2005 hi passfail= Case( not isempty(uppervalue) AND not isempty(lowervalue) AND not isempty (enteredvalue); Case(lowervalue<=enteredvalue AND enteredvalue<=uppervalue;"pass";"fail" ) ) kjoe Link to comment Share on other sites More sharing options...
mcbradford Posted March 3, 2005 Author Share Posted March 3, 2005 Case( not IsEmpty(UpperValue) and not IsEmpty(LowerValue) and not IsEmpty(TechValue), Case(LowerValue Tech Value = 425 Upper Value = 550 Lower Value = 450 Result = Fail ????? Link to comment Share on other sites More sharing options...
mcbradford Posted March 3, 2005 Author Share Posted March 3, 2005 oops - my eys are crossed - disregard :-( Link to comment Share on other sites More sharing options...
Maarten Witberg Posted March 3, 2005 Share Posted March 3, 2005 so you're ok then? slightly shorter: Case(uppervalue and lowervalue and enteredvalue; Case(lowervalue ) ) kjoe Link to comment Share on other sites More sharing options...
-Queue- Posted March 3, 2005 Share Posted March 3, 2005 If one of the values is zero, that one will not work. Case( not (IsEmpty(uppervalue) or IsEmpty(lowervalue) or Isempty(enteredvalue)); Case( lowervalue ) ) is probably the most compact you should make it. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.