I have a dataset with a field that contains a text description which includes year(s).
I need to increase the value of each year found in each text string by 1 year.
I have been looking at Replace() however, while it will find a year, there may be several years in the same field.
If the sentence was "For all entries started in 2008 and completed in 2009"
Then
would allow me to change the sentence to "For all entries started in 2009 and completed in 2009"
What I need to do is increment both years by 1 year, so it should read
"For all entries started in 2009 and completed in 2010"
Any and all help most appreciated
I need to increase the value of each year found in each text string by 1 year.
I have been looking at Replace() however, while it will find a year, there may be several years in the same field.
If the sentence was "For all entries started in 2008 and completed in 2009"
Then
Code:
SELECT Replace([Description],"2008","2009") AS ModifiedDescription
FROM tblShowElementsLink;
would allow me to change the sentence to "For all entries started in 2009 and completed in 2009"
What I need to do is increment both years by 1 year, so it should read
"For all entries started in 2009 and completed in 2010"
Any and all help most appreciated