i am using Access 97 in a Novell environment.
i have a form based on a query. That query contains a table with a Memo field called Remarks. The first entry in that Remarks memo field is always in the form of a date (ex: Jun 30 2000, Work was completed on the project ...)
So it's a memo field that kind of contains a 'date'. (but Access doesn't view Jun 30,2000 as a date. that is my problem).
i need to extract that date. So in my query, i have a column: expr1: Left([Remarks],11)
i also have another column to compare it to the current date: expr2: now()-expr1
but since Access doesn't view the value in expr1 as a date, i get #error as the value for expr2.
what i need is all the records where now()-expr1 > 14.
it seems like somewhere in my query, i have to type:
Dim expr1 as date
Does anyone have any ideas?
thanks!
i have a form based on a query. That query contains a table with a Memo field called Remarks. The first entry in that Remarks memo field is always in the form of a date (ex: Jun 30 2000, Work was completed on the project ...)
So it's a memo field that kind of contains a 'date'. (but Access doesn't view Jun 30,2000 as a date. that is my problem).
i need to extract that date. So in my query, i have a column: expr1: Left([Remarks],11)
i also have another column to compare it to the current date: expr2: now()-expr1
but since Access doesn't view the value in expr1 as a date, i get #error as the value for expr2.
what i need is all the records where now()-expr1 > 14.
it seems like somewhere in my query, i have to type:
Dim expr1 as date
Does anyone have any ideas?
thanks!