Hello,
Total newby when it comes to access so im hoping someone can put me in the right direction,
I have a form which needs to be able to adjust the warrenty finish date by either 3 or 4 years from the warrenty start date depending if it has the word laptop (3 years) or desktop(4 years) in it.
This is what I have, its the best I could come up with but alas it doesnt work. Any ideas?
= IF [Model Type].AfterUpdate Like ("LAPTOP") THEN ("yyyy",3,[Warrenty Start] ) ELSE ("yyyy",4,[Warrenty Start])
Total newby when it comes to access so im hoping someone can put me in the right direction,
I have a form which needs to be able to adjust the warrenty finish date by either 3 or 4 years from the warrenty start date depending if it has the word laptop (3 years) or desktop(4 years) in it.
This is what I have, its the best I could come up with but alas it doesnt work. Any ideas?
= IF [Model Type].AfterUpdate Like ("LAPTOP") THEN ("yyyy",3,[Warrenty Start] ) ELSE ("yyyy",4,[Warrenty Start])
Comment