Can't Update Query...
Posted: Wed  02 Aug 2006 10:38
				
				hi..
myQuery string like this
Select iPriode, left(iPriode,4) as iYear, right(iPriode,2) as iMonth from tPriode
when i wanna insert, the sql show the readonly message.
i already choice only iPriode field will update from SQL Generator
INSERT INTO tPriode
(iPriode)
VALUES
(:iPriode)
but fail, i already try using MyUpdateSql.. but still fail...
right now i am using MyCommand to Update,Delete and Insert.
and good solution ???
Jigu Jigu
			myQuery string like this
Select iPriode, left(iPriode,4) as iYear, right(iPriode,2) as iMonth from tPriode
when i wanna insert, the sql show the readonly message.
i already choice only iPriode field will update from SQL Generator
INSERT INTO tPriode
(iPriode)
VALUES
(:iPriode)
but fail, i already try using MyUpdateSql.. but still fail...
right now i am using MyCommand to Update,Delete and Insert.
and good solution ???
Jigu Jigu