Page 1 of 1

xBrowse with Tree

Posted: Thu Jun 27, 2019 1:11 pm
by oliveiros junior
Hello friends,

Could someone help me in the following problem:

1) create an object with the parameters that I need at the moment;
2) with the object, I create xbrowse with tree;
3) then wanted to take advantage of the xbrowse after a change in the parameters of the query.

I've already tried oBrowse: Refresh () and it does not resolve. What can I do?

Thanks in advance for your help.

Att.,

Oliveiros Junior

Re: xBrowse with Tree

Posted: Thu Jun 27, 2019 2:38 pm
by nageswaragunupudi
Create a new object with the revised parameters.
Create a new tree from the new object.
Then,
oBrw:oTree := oNewTree
oBrw:GoTop()
oBrw:Refresh()

Re: xBrowse with Tree

Posted: Thu Jun 27, 2019 11:15 pm
by oliveiros junior
Mr. Rao,

Thanks, it worked.

Att.

Oliveiros Junior