Page 1 of 1

Filtered DataView issue in 4.50

Posted: Sat 15 Mar 2008 08:03
by AG
Hello

I ran into issue with filtered DataView which appears in MyDirect 4.50.
In my project I use DataLink with filter applied. DataGridView shows 7 records. When I edit last record and after editing this record is not fall into filter criteria an empty line appears at last row position of DataGridView. At this point DataLink.Count = 6 (and this is correct), but DataLink.Position is also 6 and DataLink.Current throws IndexOutOfRangeException.
Anyway if edited row is not last, extra empty line appears in DataGridView.

In version 4.30 after described steps Position = 5.

Posted: Mon 17 Mar 2008 10:09
by Alexey.mdr
Please send me a small test project to reproduce the problem.
It is desirable to use 'test' schema objects, otherwise include the
definition of your own database objects.
Do not use third party components.
If it is impossible for you to create the test project, send us a piece of
your code where the error occurs.

Posted: Tue 18 Mar 2008 17:47
by AG
Hi Alexey

I have sent you test project, but could you please next time include in your 'standard customer reply' email address :) I had to surf this forum to find it.

Posted: Wed 19 Mar 2008 08:42
by Alexey.mdr
There is a hyperlink to the email address beyond each post.
Could you please resend the project to this email: alexeyman*crlab*com?

Posted: Wed 19 Mar 2008 09:07
by AG
1. I don't see any email links, probably they are visible to moderators only?
What I see are link to profile and link to PM (which is disabled on forum).
Anyway - email in your profile is empty, so what should I see?

2. I sent my project exactly on mentioned email yesterday.

Posted: Wed 19 Mar 2008 13:33
by Alexey.mdr
The error has been reproduced.
We are investigating this problem.
I will notify you on the result by email.

Posted: Mon 26 May 2008 04:58
by AG
Hi Alexey

This bug was not fixed completely in 4.50.27
You fixed issue with editing, but when user inserts new record in filtered DataLink and new record does not meet filter, the same IndexOutOfRangeException occurs.

P.S. Do you test MyDirect before release?

Posted: Tue 27 May 2008 16:51
by Alexey.mdr
Yes, we do test builds before the release. Sorry, that the bug has been solved only partially.
Could you please send me a test project, as the problem is not reproducible neither on the previous project nor on the newly created one.
We will put a priority on your request and try to solve the new bug as soon as possible.

Posted: Wed 28 May 2008 20:39
by AG
Hi Alexey,

Please check your mail.

Posted: Thu 29 May 2008 11:48
by Alexey.mdr
Hello,

I have received the email with attachments.
I will let you know on any results available in the nearest hours.

Alexey.