I have been trying to search this, but I just can't figure it out. I want to have two separate if then expressions execute on a calculate event. I can only ever get the first one to execute. I need to have a "Rush" box checkmarked if the difference between 2 days is less than 10. Then I also need to have the box change to visible if the box is checkmarked. Here is my code.
if (IsoDate2Num(ClosingDate) - IsoDate2Num(DateReq)<="10") then form1.FloodDet.Rush.rawValue=1 endif;
if (Rush.rawValue==1) then Reason.presence = "visible" else Reason.presence = "invisible" Reason.rawValue = " " endif;
Help me get this working pretty please!
I realize I could probably just put them on separate fields but I figured there HAS TO be a way to do it this way.