I have a db for my lawoffice and am trying to track the Statutute of Limitations for Auto Accidents. The calculation is complicated by the fact that the 2 year Statute of Limitation doesn't begin for a minor until he or she turns 18 so I can't create a simple calculation adding to years to my accident date field. I;m thinking I need a IF statement:
IF AccidentField - BirthdateField <18
BirthdateField plus 20 years
Else AccidentDateField plus 2 years.
Am I right and can someone tell me the correct syntext for this code? One problem is my birthdate field is in a different table. What is the best way to deal with this?
Which event would be the best one to put it in?
IF AccidentField - BirthdateField <18
BirthdateField plus 20 years
Else AccidentDateField plus 2 years.
Am I right and can someone tell me the correct syntext for this code? One problem is my birthdate field is in a different table. What is the best way to deal with this?
Which event would be the best one to put it in?