I am using Delphi 7 and a TUniScript component of UniDAC 7.1.4 to run SQL statements in MySQL, but when loading the SQL statements, the error "Parser: The unknown symbol $7F ''" appears only when it finds the characters Chr (0141), Chr (0038) and Chr (0127) continuous in the SQL statements.
With this code you can check the error:
Code: Select all
Try UniScript1. SQL Text: = Chr (0141) + Chr (0038) + Chr (0127);
Except On Error: Exception Do
Begin
InputBox (' Error','', Error. Message);
End;
End;
The same error occurs with Embarcadero RAD Studio 10.2 Tokyo.