Icon View Incident Report

Serious Serious
Reported By: Tiago Ameller
Reported On: 10/15/2008
For: Version 2.02 Build 1
# 2824 Remote DataSet Navigation Results in Incorrect Row Display

C/S

In client, this view acts as a Master (using TDataSource) to a query over GPMESPLN.

When view vwMeses has just one record, the following code causes this to occur:

Then all fields from vwMeses are NULL.
This not occurs is vwMeses has more than one row.

Workaround is making another vwMeses.Refresh after Last.

View  vwMeses: SELECT  Ano,  Mes,  SUM(TotalDia) AS HorasMes FROM
GPMESPLN GROUP BY  Ano, Mes ORDER BY  Ano, Mes

Code:

vwMeses.Refresh;
if not vwMeses.Locate( ... ) then
 vwMeses.Last;



Comments Comments and Workarounds
The workaround is as noted. This issue was supposed to be resolved in incident #2815, but the test application did not include a bound grid control, which is what exposes the issue.


Resolution Resolution
Fixed Problem on 10/16/2008 in version 2.02 build 2


Products Affected Products Affected
ElevateDB LCL Standard with Source
ElevateDB VCL Client-Server
ElevateDB VCL Client-Server with Source
ElevateDB VCL Standard
ElevateDB VCL Standard with Source
ElevateDB VCL Trial

Image