I have a table which has two important fields namely FromDate and ToDate.
I need to create a validation that ToDate should be greater than FromDate.
If this condition is not met while I am entering the details in Form level, the record should not get saved into the table. What code should I write and where should I write it? Please help with the situation.