Hi.
We use the VDF Sig Classes and saw a bug in the report control.
Don't know if this is fixed but if you use the function Find_Next_Non_Group_Row and there is only a closed group below the row you´re in you get a couple of errors thrown.
Code:
{ Visibility = False }
Function Find_Next_Non_Group_Row Integer iIndex Returns Integer
Boolean bGroupRow
Handle hoRows hoRow
Variant vRow
Integer iRowCount
Get phoReportRows to hoRows
Get phoReportRow to hoRow
Get Last_Row_Index to iRowCount
If (iIndex < iRowCount) Increment iIndex
Repeat
Get ComRow of hoRows iIndex to vRow
Set pvComObject of hoRow to vRow
Get ComGroupRow of hoRow to bGroupRow
If (bGroupRow) Begin
Increment iIndex
End
Until (not(bGroupRow) or (iIndex = iRowCount))
If (bGroupRow) Move -1 to iIndex
Function_Return iIndex
End_Function
But if you change it to:
Code:
{ Visibility = False }
Function Find_Next_Non_Group_Row Integer iIndex Returns Integer
Boolean bGroupRow
Handle hoRows hoRow
Variant vRow
Integer iRowCount
Get phoReportRows to hoRows
Get phoReportRow to hoRow
Get Last_Row_Index to iRowCount
If (iIndex < iRowCount) Increment iIndex
Repeat
Get ComRow of hoRows iIndex to vRow
Set pvComObject of hoRow to vRow
Get ComGroupRow of hoRow to bGroupRow
If (bGroupRow) Begin
Increment iIndex
End
Until (not(bGroupRow) or (iIndex >= iRowCount))
If (bGroupRow) Move -1 to iIndex
Function_Return iIndex
End_Function
The change is : Until (not(bGroupRow) or (iIndex >= iRowCount))
Then it works.