I have a term (4 characters. i.e. 1048) and date (03/01/2008) field in the database. Is the following possible in an expression?
If the date's month is less then 03 and the 4th character in the term is 4 then take the first three characters of the term and make the 4th character a 2 so if the term=1048 and the date month is less than 03 then change the term field to 1028
else if
the date's month is greater then 03 and the 4th character in the term is 4 then just take what is in the term field so if the term=1048 and the date month is greater than 03 then just show what is entered in the term field so 1048
else
just show the other data in the term field.
Thanks for any help.
If the date's month is less then 03 and the 4th character in the term is 4 then take the first three characters of the term and make the 4th character a 2 so if the term=1048 and the date month is less than 03 then change the term field to 1028
else if
the date's month is greater then 03 and the 4th character in the term is 4 then just take what is in the term field so if the term=1048 and the date month is greater than 03 then just show what is entered in the term field so 1048
else
just show the other data in the term field.
Thanks for any help.