Finally, my company provides the budget for the move to MySQL 5.1
But, we use an old version of MyDAC, 3.55, is not work with MySQL 5.1 (it worked for 4.1 and 5.0)
we work on many projects, and the migration from 3.55 to 5.00 requires changes (the TMyTable doesn't without SQL and there was abuse TMyTable with only TableName, I replace everything by TMyQuery)
the problem is that I must maintain a unique code for 3.55 and 5.00 because we can not migrate all the applications, I use MyAccess.MyDACVersion in RunTime, but I have problem in DesignTime, I have not found a compiler directive because TErrorAction has been moved from MyScript to DAScript
I want to do that
Code: Select all
uses
... {$IFDEF MYDAC_VER_500}DAScript, MyScript{$ENDIF}
{$IFDEF MYDAC_VER_355}MyScript{$ENDIF} ...;PS : Sorry for my poor english