Code: Select all
ZQuery.FieldByName('FieldName').AsBoolean:= TRUE;
ZQuery.Post;
ZQuery.ApplyUpdates;
Connection.Commit;
ZQuery.FieldByName('FieldName').AsInteger:= 1; //No error but nothing happens
ZQuery.FieldByName('FieldName').AsString:= 'Y'; //error: not boolean value
How can I make it work?