mutley1
MIS
- Jul 24, 2003
- 909
Hey guys,
code below. Trying to convert a text field to date time and thought I would convert thwe text first using the below (from 20110131 to 01/31/2011 as an example), but I keep getting "must use Updateable query" Any help appreciated as its a long time since I programmed, but this loooks fine to me and the select brings back good formatted data.
code below. Trying to convert a text field to date time and thought I would convert thwe text first using the below (from 20110131 to 01/31/2011 as an example), but I keep getting "must use Updateable query" Any help appreciated as its a long time since I programmed, but this loooks fine to me and the select brings back good formatted data.
Code:
UPDATE [detail report history]
SET [detail report history].REPORT_DATE =(Select mid ([detail report history].report_date ,5, 2)+'/'+right ([detail report history].report_date,2)+'/'+Left([detail report history].REPORT_DATE,4)FROM [detail report history]);