Page 1 of 1

sometimes strange behavior after foundsetfiltering

PostPosted: Tue Apr 15, 2014 1:34 pm
by ina.wels
Hey,
I have a locked Table View Form (Webclient) showing a Foundset with calculations. Users are allowed to generate filters. Filtering the foundset sometimes causes an error.
I really don't know exactly when this error does occur. Then the error page is shown. On the admin page i get the attached errormessages.

This seems to happen after filtering and removing the filter (ie standig on the first record, filtering for just the last record (indes 138), removing the filter). The foundset is shown, then the records are not shown for a few milliseconds. Filtering the foundset again would not work anymore.

Re: sometimes strange behavior after foundsetfiltering

PostPosted: Wed Apr 16, 2014 9:49 am
by ina.wels
I just figured out, when this behaviour does happen.
I set a filter on the foundset the first time (ie there is just one more record in the filtered foundset with the pk = 55)
I remove the filter
The selected record is furthermore the record with the pk 55, but it is no more in the visible area.
The foundset seems no reload and the record with pk 55 is now in the visible area (I don't use Servoy Paging)
Setting another filter or the same again and the program will crash.

So, after removing the foundset filter I am now selecting the first record. Then the programm is going on. But I don't want to select the first record, just because it's in the visible area. I would like to have the record selected as it was.