Hi,
We are migrating our applications from pb classic 12.5.2 ---> pb classic 12.6 ----> pb.net 12.6
I have noticed in pb.net 12.6 that the existing 'Last Page' function doesnot work. On debugging, found that this 'Last Page' scrolling functionality is coded in pfc object pfc_u_dw; event pfc_lastpage. The code there are:
...............................................................................
long ll_rc
string ls_rc
ll_rc = ScrollToRow (2147483647)
if ll_rc > 0 then
ls_rc = this.object.datawindow.firstrowonpage
if IsNumber (ls_rc) then
ll_rc = Long (ls_rc)
else
ll_rc = FAILURE
end if
end if
return ll_rc
...............................................................................
Though we are using old pfc version migrated over and again, I have checked pfc 12.5 version also and the code here is the same.
Debugging shows that 'ScrollToRow (2147483647)' is always returning 0 in pb.net. This is not correct and thats' why the scrolling is not working. But the same code works fine in pb classic - where it scrolls to the last page of the report.
Any idea how to fix this in pb.net 12.6 ?
Thanks in advance,
Mazibar