IF OR formula works until I add a date that checks to see if selected date occurs after 15 days from today.
// Works w/o date
If(Or( IsBlank(txtClientNameSignature), !IsNumeric(txtNumDocsToSign.Text) ), DisplayMode.Disabled, DisplayMode.Edit)
However, once I add a date formula, it does not correctly evaluate the date.
// Does NOT Work Due to Date Forumala
If(Or( IsBlank(txtClientNameSignature), !IsNumeric(txtNumDocsToSign.Text), dpkrDueDateSignature.SelectedDate < Today()+15 ), DisplayMode.Disabled, DisplayMode.Edit)
Any recommendations are appreciated.
答案 0 :(得分:0)
这是解决方案:
If(Or( IsBlank(txtClientNameSignature), !IsNumeric(txtNumDocsToSign.Text), dpkrDueDateSignature.SelectedDate < DateAdd( Today(), 15, Days) ), DisplayMode.Disabled, DisplayMode.Edit)
DateAdd(Today(),15,Days)是我需要的。