I want to highlight **OPEN **releases that are LATE, but not Closedreleases.
I have done the standard rules - but I need to do a custom condition.
Where would I go to get the syntax to put logic for
OrderRel.OpenRelease=“Open” and OrderRel.ReqDate < Today
Here’s what I have tried
Make all release Invisable then set the late releases to warning.
private void CreateRowRuleOrderRelOpenReleaseEquals_FALSE()
{
// Description: ReleaseClosed
// **** begin autogenerated code ****
ControlSettings controlSettings1EpiStyle_Invisible = new ControlSettings();
controlSettings1EpiStyle_Invisible.SetStyleSetName("EpiStyle_Invisible");
RuleAction epistyle_invisibleOrderRel_RowAction = RuleAction.AddControlSettings(this.oTrans, "OrderRel.", controlSettings1EpiStyle_Invisible);
RuleAction[] ruleActions = new RuleAction[] {
epistyle_invisibleOrderRel_RowAction};
// Create RowRule and add to the EpiDataView.
RowRule rrCreateRowRuleOrderRelOpenReleaseEquals_FALSE = new RowRule("OrderRel.OpenRelease", RuleCondition.Equals, false, ruleActions);
((EpiDataView)(this.oTrans.EpiDataViews["OrderRel"])).AddRowRule(rrCreateRowRuleOrderRelOpenReleaseEquals_FALSE);
// **** end autogenerated code ****
}
private void CreateRowRuleOrderRelReqDateLessThan_Constant_Today()
{
// Description: DatePriortoToday
// **** begin autogenerated code ****
RuleAction warningOrderRel_ReqDate = RuleAction.AddControlSettings(this.oTrans, "OrderRel.ReqDate", SettingStyle.Warning);
RuleAction[] ruleActions = new RuleAction[] {
warningOrderRel_ReqDate};
// Create RowRule and add to the EpiDataView.
RowRule rrCreateRowRuleOrderRelReqDateLessThan_Constant_Today = new RowRule("OrderRel.ReqDate", RuleCondition.LessThan, "Constant: Today", ruleActions);
((EpiDataView)(this.oTrans.EpiDataViews["OrderRel"])).AddRowRule(rrCreateRowRuleOrderRelReqDateLessThan_Constant_Today);
// **** end autogenerated code ****
// Create RowRule and add to the EpiDataView.
RowRule rrCreateRowRuleOrderRelOpenReleaseEquals_FALSE = new RowRule("OrderRel.OpenRelease", RuleCondition.Equals, false, ruleActions);
((EpiDataView)(this.oTrans.EpiDataViews["OrderRel"])).AddRowRule(rrCreateRowRuleOrderRelOpenReleaseEquals_FALSE);
// **** end autogenerated code ****
}

