FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour FWH 1805 - oBrw:SetTree( [<nLevels>] ) -> Automatic Trees
Posts: 811
Joined: Tue May 06, 2008 04:28 AM
Re: FWH 1805 - oBrw:SetTree( [<nLevels>] ) -> Automatic Trees
Posted: Sat Aug 04, 2018 05:13 AM
nageswaragunupudi wrote:You are right. At present the logic works only with DBF. Even then, if the value of the second field in the first record is empty, the results may not be as expected.
We are in the process of fixing these issues and also extend this to Mariadb rowset also.

For now, you can test it with rowsets by adding a small workaround code:
Code (fw): Select all Collapse
   oBrw:bBookMark := { |x| If( x == nil, oRs:nAt, oRs:nAt := x ) }

while creating the browse.

To make it easy for you I have modified the sample in my above post, including this modification. Please test with this workaround.

For use in real life applications, we advise you to wait till next release and watch whatsnew.txt.



Mr. Rao,

The workaround works when declared before :Settree() ... So far the display not erratic.



:-) :-) :-) :-)
Kind Regards,

Frances



Fivewin for xHarbour v18.07

xHarbour v1.2.3.x

BCC 7.3 + PellesC8 ( Resource Compiler only)

ADS 10.1 / MariaDB

Crystal Reports 8.5/9.23 DE

xMate v1.15

Continue the discussion