Changes Types in Last Build of MyDAC?
Posted: Thu 22 Apr 2010 02:37
Hi Devart team, have any change in TMyScript.SQL property ?
i have the code work's fine in version 5.90.0.56
this code work's in previus version, in the last version the error
"[DCC Error] DB_Utils.pas(94): E2010 Incompatible types: 'TWideStrings' and 'TStringList'"
i can make the fix:
but what you change the types?
i have the code work's fine in version 5.90.0.56
Code: Select all
....
var
MyScritpUpDB:TMyScript;
cSQL:TStringList;
begin
cSQL.Clear;
cSQL.Add( 'ALTER TABLE XXXXXX...; ' );
cSQL.Add( 'DROP TABLE XXXXXX...; ' );
cSQL.Add( 'UPDATE XX SET XXXXXX...; ' );
MyScritpUpDB.SQL := cSQL;
MyScritpUpDB.Execute;
end;
"[DCC Error] DB_Utils.pas(94): E2010 Incompatible types: 'TWideStrings' and 'TStringList'"
i can make the fix:
Code: Select all
MyScritpUpDB.SQL.Text := cSQL.Text; //Atualiza o banco...