ReniLV
User
 Fresh Boarder
| Posts: 5 |   | Karma: 0 |
|
Ошибка :(
|
|
Posted: 2008/04/10 09:49 |
|
|
|
|
Доброго времени дня Есть следующий фрагмент рабочего кода (Delphi 2006, AnyDAC 1.12.2, MySQL)
procedure GetVehicleData(id: integer); begin with MainForm, ADQuery do begin SQL.Clear; SQL.Text := format('SELECT * FROM vehicle WHERE id = %d;', [id]); Open; ...................
Меняю у ADQuery FetchOptions/RecordCountMode с cmVisible на cmTotal и после этого в строчке Open; получаю
First chance exception at $76D642EB. Exception class EMySQLNativeException with message '[AnyDAC][Phys][MySQL][LIBMYSQL] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '; ) A' at line 2'. Process SmartTracer.exe (6408)
Что за символы ") A" в строчке 2??? откуда???
Заранее огромное спасибо
|
|