diff --git a/crpa/crpa0.cpp b/crpa/crpa0.cpp index d5a3f567e..8ca43ed1d 100755 --- a/crpa/crpa0.cpp +++ b/crpa/crpa0.cpp @@ -14,6 +14,9 @@ #include "../ca/movana.h" #include "../ca/rmovana.h" +// Fine del comando sql con separatore magico per crpa.exe +#define SQL_EOL ";æ" + class TIni2Sql: public TSkeleton_application { TRelation* _clifo; @@ -1029,7 +1032,7 @@ void TIni2Sql::write_sqlinsert() *_sqlfile << insert << endl; *_sqlfile << colonne << endl; *_sqlfile << valori << endl; - *_sqlfile << ';' << endl; + *_sqlfile << SQL_EOL << endl; } } if (!almenounariga) @@ -1087,7 +1090,7 @@ void TIni2Sql::write_sqldelete() { condizione.insert(" WHERE ("); condizione << ") "; *_sqlfile << cancella << condizione << endl; - *_sqlfile << ';' << endl; + *_sqlfile << SQL_EOL << endl; } } }