HeatherBryant2
6 years agoQrew Assistant Captain
Exception for Data Validation Rule
I'm working between two tables: Jobs and Price Increases. One job can have many price increases. I'm using a data validation rule to not allow a Price Increase to be added if the value in the Increase Effective Date matches a summary field that looks at the parent Job and pulls in the Maximum Increase Effective Date (one job should not have more than one price increase scheduled for one day).
This works great when adding new records. But if I try to edit and then save the Price Increase record that has the Maximum Increase Effective Date, I get my data validation error (As I should, the two date fields match).
Any ideas of how can I set an exception to the data validation rule?
This is the rule: If([Rate Effective Date]=[Service - Maximum Effective Date], "error message".
Thanks!
------------------------------
Heather
------------------------------
This works great when adding new records. But if I try to edit and then save the Price Increase record that has the Maximum Increase Effective Date, I get my data validation error (As I should, the two date fields match).
Any ideas of how can I set an exception to the data validation rule?
This is the rule: If([Rate Effective Date]=[Service - Maximum Effective Date], "error message".
Thanks!
------------------------------
Heather
------------------------------