Hi
I have a text field (line-descr) which holds dates in this format *030803*. I have created an update query to convert the text field to date. However, I receive an error unable to update due to data type conversion. Here is the update query.
UPDATE inv_podate SET inv_podate.INV_PODATE = CDate(Left(Line-Descr,2) & "/" & Mid(Line-Descr,3,3) & "/" & Mid(Line-Descr,6));
Is there a way to exclude the asterisk from the text field during the conversion?
I have a text field (line-descr) which holds dates in this format *030803*. I have created an update query to convert the text field to date. However, I receive an error unable to update due to data type conversion. Here is the update query.
UPDATE inv_podate SET inv_podate.INV_PODATE = CDate(Left(Line-Descr,2) & "/" & Mid(Line-Descr,3,3) & "/" & Mid(Line-Descr,6));
Is there a way to exclude the asterisk from the text field during the conversion?