Consultor Eletrônico



Kbase P36162: ADM2. SmartPanel and last might not return the last record.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   08/08/2003
Status: Unverified

FACT(s) (Environment):

Progress 9.1Dx

SYMPTOM(s):

ADM2. SmartPanel and last might not return the last record.

CAUSE:

I have reproduced this issue in 9.1D06, customer reproduce this in 9.1D03.
There is a wrong behavior from the SmartPanel, making a difference in behaviour in between the SmartPanel and the SmartToolBar.

I have 4 widget within a SmartWindow.
1. SDO based on customer Table (Custnum and Name).
2. SmartViewer based on Customer's SDO.
3. SmartBrowser based on Customer's SDO.
4. A SmartPanel (pnavico).
Place your SDO in the SW.
Place your SV in the SV.
Place your SB below the SV.
Insert the SmartPanel.

The problem is that when you press on the SmartPanel to go to the last record In the SV the last record of the SDOs first rows to batch is displayed and in the Browser the last record is displayed as expected.

So in Summary the SV receives the last records of Rows to Batch and the SB receives the last record in the table.

Now if you change in the SW the position of the SB and SV.
Place your SB on top and SV below.
If you test with the widgets in that position you will get the expected result. the last record is displayed in both SB and SV.

This is not happening with the SmartToolbar.

Also found that in the case your SDV is on top and SB below, if within the SDO you Rebuild Dataset on Reposition, the behaviour desapears.

FIX:

In the SDO put Rebuild Dataset on Reposition and that will correct the behaviour.

FIX:

BUG# 20030808-007