Mysql ZTable + Filtered + SortedFields + DBGrid problem

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
mangwills
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 31.03.2006, 04:08

Mysql ZTable + Filtered + SortedFields + DBGrid problem

Post by mangwills »

Hi! I have a simple mysql table with two columns:

~~~~~~~~~~
CREATE TABLE test_only (
id int not null primary key auto_increment,
name varchar(50) not null
);

INSERT INTO test_only (name) VALUES ('test1'), ('test2'), ('test3'), ('test4'), ('test5');
~~~~~~~~~~

When I have ZTable/ZQuery with Filtered = True, SortedFields = 'name', and I use a DBGrid to edit the 'name' column, after posting, the record jumps unexpectedly to some other row. This does not occur when either Filtered = False or SortedFields = ''.

I'm using the latest svn testing version of zeosdbo, delphi 2006, and MySQL 5.

I'll try to look for an older version of zeos where this did not occur.

Thanks!

William Yao
You do not have the required permissions to view the files attached to this post.
Last edited by mangwills on 27.03.2008, 02:49, edited 1 time in total.
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

If you don't want this problem to disappear in the forum, please add it to the bug tracker.
It would also be helpful if you could add a small sample project (project files + data creation script + eventual instructions on how the error can be reproduced).

Mark
Image
mangwills
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 31.03.2006, 04:08

Post by mangwills »

I attached the sample project to the original post. I'll add it to the bug tracker shortly -- still waiting for the activation email from the bug tracker.

-William
Post Reply