Hi,
There is a bug in procedure Ensure_Visible of cSigCJReportControl.pkg. It is not working when you want to ensure that the last row has the focus.
The bug is due to this loop:
Code:
//Find record with matching TAG
Decrement iCount
Move False to bFound
Move 0 to iLoop
Repeat
Get ComRecord of hoRecords iLoop to vRec
Set pvComObject of hoRec to vRec
Get ComTag of hoRec to sRecTag
If (sRecTag = sTag) Begin
Move True to bFound
End
Increment iLoop
Until ((iLoop = iCount) or bFound)
There are multiple solutions, like don't decrement iCount or like change the repeat loop with a while loop "While (iLoop <= iCount and not(bFound))"
Regards.