Hi
In below code i want if Eval(Onbreak) = 'OnBreak then this condition should not get evaluated . If it is not onbreak then this condition should be evaluated
C#
'>Thanks
Hi
In below code i want if Eval(Onbreak) = 'OnBreak then this condition should not get evaluated . If it is not onbreak then this condition should be evaluated
'>Thanks
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Tuhin PaulRank #7 · 71.9K reputationPosted Apr 11, 2023, 10:36 PM EDT
You can modify the code to include an additional check for the OnBreak value. If it's equal to "OnBreak", then the first condition should be skipped, and if it's not equal to "OnBreak", then the first condition should be evaluated.
The first condition checks if OnBreak is equal to "OnBreak". If it is, then it skips the first condition and evaluates the second condition, which displays TentativeDeliveryDate. If OnBreak is not equal to "OnBreak", then it evaluates the first condition and displays either BookDeliveredOn or TentativeDeliveryDate depending on which one is not empty.
Ramco RamcoRank #462 · 5.4K reputationPosted Apr 11, 2023, 10:56 PM EDT
Hi Tuhin
I want if Eval(OnBreak) = 'OnBreak' then '' else the above condition should be evaluated as it is
I have written below condition but still it is displaying Date . In Eval(OnBreak) it is OnBreak
'>Thanks