FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour refresh a filtered TXbrowse
Posts: 334
Joined: Fri Oct 14, 2005 01:54 PM
refresh a filtered TXbrowse
Posted: Fri May 05, 2006 06:11 PM
Listbox is refreshed after set filter command by :
oLbx:upstable()         
oLbx:Refresh()



TXBROWSE is not refreshed after filter command by the same way :
ACTIVATE DIALOG oDlgn ON INIT (oBrw:SetSize( 800, 
600 ),oBrw:Refresh())
Posts: 474
Joined: Sun Oct 30, 2005 06:37 AM
refresh a filtered TXbrowse
Posted: Sat May 06, 2006 01:43 AM

Try refresh(.t.)

Shuming Wang

http://www.xtech2.top
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651
Posts: 334
Joined: Fri Oct 14, 2005 01:54 PM
refresh a filtered TXbrowse
Posted: Sat May 06, 2006 11:50 AM

refresh(.t.) does not do any difference . My problem is :
Only the first Record appeared in the Txbrowse does not belong to the condition of set filter and when I do through the records using the cursor the non-belong record disappeared .

Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
refresh a filtered TXbrowse
Posted: Sat May 06, 2006 04:42 PM

Try GO TOP just after SET FILTER command.

EMG

Posts: 334
Joined: Fri Oct 14, 2005 01:54 PM
refresh a filtered TXbrowse
Posted: Sun May 07, 2006 07:20 PM
I already aware of that point but no effects
SELECT 4
use mete
SET index TO mete2
DBSETFILTER(&bFilter,cFilter)
4->(DBGOTOP())
Posts: 83
Joined: Tue Nov 08, 2005 11:09 AM
refresh a filtered TXbrowse
Posted: Mon May 08, 2006 02:11 AM

Try this :-

select('youralias')
set filter to &cYourFilter
go top

oLbx:gotop()
oLbx:upstable()
oLbx:refresh()

Regards

Hoe, email: easywin3@yahoo.com
Posts: 334
Joined: Fri Oct 14, 2005 01:54 PM
refresh a filtered TXbrowse
Posted: Wed May 10, 2006 04:11 PM
Sorry I using Txbrowse so I am using RDD server . so no syntax for set filter but my code must be the following :
SELECT 4 
use mete 
SET index TO mete2 
DBSETFILTER(&bFilter,cFilter) 
4->(DBGOTOP())

Continue the discussion