I have a text string that starts with a date. I am attempting to extract the date portion and then have the query see that text as a date in order to perform a calculation. This was working a week ago so I am not sure what happened.
Left([SRS_Degrees],10) gives me 12/15/2001
Field 1: DateValue(Left([SRS_Degrees],10)) I get "Data type mismatch in criteria
expression"
Purpose of this is to run the calculation in Field 2.
Field 2: (Date()-([Field 2]))/365)
Any advice? Thanks in advance!
Left([SRS_Degrees],10) gives me 12/15/2001
Field 1: DateValue(Left([SRS_Degrees],10)) I get "Data type mismatch in criteria
expression"
Purpose of this is to run the calculation in Field 2.
Field 2: (Date()-([Field 2]))/365)
Any advice? Thanks in advance!