Search found 4 matches

by kgt
22.09.2007, 03:03
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: ZTable(or ZQuery) error
Replies: 6
Views: 2120

Hi Mark, I am sorry. When I maked a simple probject, I found a problem in my code. I used TMS Grid component in old project. It was problem. New simple project was no prblem. ZeosLib and TMS Grid componet is incompatible. ADO and TMS Grid Component is compatible. So I give up using ZeosLib. Regards,...
by kgt
14.09.2007, 07:59
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: ZTable(or ZQuery) error
Replies: 6
Views: 2120

Hi Mark, Exception:EDatabaseError 'ZTable1:dataset isn't edit mode or insert mode.' -------- ZAbstractRODataset.pas ------ procedure TZAbstractRODataset.SetFieldData(Field: TField; Buffer: Pointer); var ColumnIndex: Integer; RowBuffer: PZRowBuffer; WasNull: Boolean; begin if not Active then raise EZ...
by kgt
14.09.2007, 00:35
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: ZTable(or ZQuery) error
Replies: 6
Views: 2120

Hi This is my enviroment. OS:WindowsXPSP2 Compiler:Delphi7 Database:SQL Server(MSDE) ZeosLib:6.6.1beta When I use ADOconnection & ADODataSet, no problem. However when I use Zconnection & Ztable, problem occur. In this case, no problem. ADODataSet1.Append; ADODataSet1.FieldByName('field').AsS...
by kgt
12.09.2007, 13:22
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: ZTable(or ZQuery) error
Replies: 6
Views: 2120

ZTable(or ZQuery) error

Append method have a problem. In case ZTable1.Append; ZTable1.FieldByName('field').AsString := '2a'; Ztable1.Post; and then EDatabaseError ------------ ZTable1.Insert; ZTable1.FieldByName('field').AsString := '2a'; Ztable1.Post; In this case, no problem. ZQuery have a same proble, too. Regards Kogata