PeterHarmes wrote:I use xBrowse with SQLRDD and can confirm that it works - there are issues with OrdKeyCount() & OrdKeyNo() as nageswaragunupudi says - the only area i have found to be a problem is the "hot key" seeking in a browse.
Regards,
Pete
If this is the case, I would suggest that after creating xbrowse, we need to override these codeblocks:
oBrw:bKeyNo := { |n| If( n == nil, (oBrw:cAlias)->( RecNo() ), (oBrw:cAlias)->(DbGoTo(n)) }
oBrw:bKeyCount := { || (oBrw:cAlias)->( LastRec() ) }
Better to retain the other default codeblocks as created by xbrowse without disturbing them.
I
presume RecNo(), DbGoTo(n) and LastRec() are supported. If they have other names, they can be substituted.
Still there could be occasional issues because in SQLRDD, the recno can be higher than the recordcount.
May I know how DbSeek() works or how we can simulate that behavior?
( Xbrowse implements incremental seek for ADO recordsets using ADO Find method)