0
Need Validation Dates in a range
I need a script Validation for field 'Documents' that are not in the same fields Start and Finish data range.
Example
Doc # 1 20/Apr/2024. 30/Apr/2024
Doc # 2 20/Apr/2024. 26/Apr/2024 Validate not allowed
Doc # 2 24/Apr/2024 29/Apr/2024 validate not allowed
4 replies
-
you mean something like:
let t := this; let x : = select table1 where (t.startdate >= startdate and t.startdate <= enddate) or (t.enddate >= startdate and t.enddate <= enddate); if count(x) > 0 then true else false end;
Content aside
- 8 mths agoLast active
- 4Replies
- 25Views
-
2
Following