hi everybody,
I'am using D7 and Zeos 6.6.5 to insert/update data to mysql 5 database, I use TZQuery and TZUpdateSQL component.
My code generate insert/update string for TZUpdateSQL dinamically reading from another db. This means TZUpdateSQL.InsertSQL.Text is like this: "INSERT INTO table1 (name, username, email, password, params) VALUES (:pname, :pusername, :pemail, :ppassword, :pparams)"
Next step my code set parameters and then call quey.Post;
The issue is about field 'params', it is TEXT column in mysql and NOT NULL.
I set value to 'timezone=0' but I get the error "Field params is required, but not supplied." in TZAbstractRODataset.InternalPost when Checkrequired is call.
Why this? If I set field value to ' ' in beforepost of TZQuery it work but it insert 'timezone=0' not ' ' like I expect.
Some ideas?
thanks
TEXT column null
Forum related to MySQL
Moderators: gto, cipto_kh, EgonHugeist
Jump to
- Links
- ↳ Bugtracker
- ↳ Downloads
- ↳ Subversion
- ↳ GitHub
- ZEOS Library - General
- ↳ Announcements
- ↳ Downloads
- ↳ Documentations
- ↳ Tutorials
- ↳ ZDBC (ZEOS Database Connectivity)
- ↳ User Contributions
- ↳ Feature Requests
- ↳ User Patches
- ZEOS DBO v8.x
- ↳ ZeosLib 7.3/8.0 Forum
- ZEOS DBO v7.x
- ↳ ZeosLib 7.2 Forum
- ↳ ZeosLib 7.1 stable Forum
- ↳ ZeosLib 7.0 Stable Forum
- ↳ ZeosLib 7.0 Beta Forum
- SQL Servers and Databases
- ↳ ADO
- ↳ DB2
- ↳ Firebird
- ↳ Interbase
- ↳ MS SQL Server
- ↳ MySQL
- ↳ Oracle
- ↳ OleDB (Microsoft Windows)
- ↳ ODBC
- ↳ PostgreSQL
- ↳ SQLite
- ↳ Sybase ASE
- Compiler related
- ↳ CBuilder / C++
- ↳ Lazarus / Freepascal
- ZEOS DBO V 6.x
- ↳ 6.6 - stable
- ↳ 6.5.1 (alpha) - 6.6.x (beta)
- ↳ 6.1.5
- ↳ Other 6.x Versions
- ↳ Bug Reports
- ZEOS DBO V 5.x
- ↳ 5.x Versions
- Software projects using ZeosLib
- ↳ SQLite Administrator
- Other and Non-Technical
- ↳ Off Topic