Changes Types in Last Build of MyDAC?

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
eduardosic
Posts: 387
Joined: Fri 18 Nov 2005 00:26
Location: Brazil

Changes Types in Last Build of MyDAC?

Post by eduardosic » 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

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;

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:

Code: Select all

    MyScritpUpDB.SQL.Text := cSQL.Text; //Atualiza o banco...
but what you change the types?

eduardosic
Posts: 387
Joined: Fri 18 Nov 2005 00:26
Location: Brazil

Re: Changes Types in Last Build of MyDAC?

Post by eduardosic » Thu 22 Apr 2010 02:47

Sorry, i download the UNICODE version.

:oops:

Post Reply