Hello all,
I'm using CR 2008 (Version 12) and I'm trying to extract a date from a memo field and then use the results in a formula.
The date is always after the words "REC DATE" in the memo field. I'm able to pull the date out by using the following formula:
The result seems to be a text field and is in the format of "dd/mm/yyyy". I don't have any issues extracting the date, but it's in a format that is unusable in formulas.
I'm trying to use the result in a formula that will calculate the time between an existing date field and the resulting field extracted from the memo field.
I've tried to convert it using cdate, but I receive an error 'Bad Date Format String'.
Any help is appreciated!
Thanks!
I'm using CR 2008 (Version 12) and I'm trying to extract a date from a memo field and then use the results in a formula.
The date is always after the words "REC DATE" in the memo field. I'm able to pull the date out by using the following formula:
Code:
mid(mid({memo.field},instr({memo.field},"REC DATE")+9),1,10)
The result seems to be a text field and is in the format of "dd/mm/yyyy". I don't have any issues extracting the date, but it's in a format that is unusable in formulas.
I'm trying to use the result in a formula that will calculate the time between an existing date field and the resulting field extracted from the memo field.
I've tried to convert it using cdate, but I receive an error 'Bad Date Format String'.
Any help is appreciated!
Thanks!