Thanks!! Now it works!
Only one problem (or feature)... This is not on principle... After replace AND with OR errors intercepts succesfully, but it handles twice...
Search found 3 matches
- 10.07.2007, 07:17
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: MySQL+Zeos. How control errors?
- Replies: 6
- Views: 2245
- 06.07.2007, 12:22
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: MySQL+Zeos. How control errors?
- Replies: 6
- Views: 2245
2 gto Some DDL code: CREATE TABLE IF NOT EXISTS plots ( CadNom CHAR(19) NOT NULL UNIQUE, Area DECIMAL(10,4) NOT NULL, Perimeter DECIMAL(10,4) NOT NULL, LandCategory TINYINT UNSIGNED NOT NULL, TargetUsing VARCHAR(8) NOT NULL, Status TINYINT UNSIGNED, PRIMARY KEY(CadNom), FOREIGN KEY(LandCategory) RE...
- 03.07.2007, 06:49
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: MySQL+Zeos. How control errors?
- Replies: 6
- Views: 2245
MySQL+Zeos. How control errors?
Hello! I'm using Lazarus 0.9.20, MySQL 5.0.31 and Zeos 6.6.1 beta for writing database client. How I can show for user errors, which occurs on MySQL server when executing query or stored procedure? I'm trying to using construction: try ZQuery.ExecSQL; except on E:EZSQLThrowable do MsgBox(E.Message,'...