testxbrw filter

testxbrw filter

Postby Ehab Samir Aziz » Thu Mar 16, 2006 8:04 am

I am trying to update the testxbrw.prg to fullfill my needs as below . It does not work ???


select 1
USE METE
index on dtoc(me_date)
go top
set filter to 1->me_serial="9855564"
// USE CUSTOMER NEW
Ehab Samir Aziz
 
Posts: 334
Joined: Fri Oct 14, 2005 1:54 pm

Example of filter

Postby jcaro » Fri Mar 17, 2006 2:33 pm

Ehab:

You can used this sample code:

FUNCTION Incremental( oWnd )

local oChild, oBrw

DEFINE WINDOW oChild TITLE "Incremental seek " MDICHILD OF oWnd

oBrw := TXBrowse():New( oChild )
oBrw:nMarqueeStyle := MARQSTYLE_HIGHLROW
oBrw:nColDividerStyle := LINESTYLE_INSET
oBrw:nRowDividerStyle := LINESTYLE_INSET
oBrw:bSeek := { |c| DbSeek( Upper( c ) ) }

oBrw:SetRDD()
oBrw:CreateFromCode()

oChild:oClient := oBrw

ACTIVATE WINDOW oChild ON INIT oBrw:SetFocus()

RETURN NIL
Juan
==> Pasando a FWH16.04 + Harbour32 + BCC70 + PellesC
=> Abandonando FWH 13.7 + xHarbour + BCC582
http://www.mitaller.cl
jcaro
 
Posts: 270
Joined: Fri Nov 11, 2005 7:39 pm

Postby Ehab Samir Aziz » Tue Mar 28, 2006 5:32 pm

Is that code will result to access one record as focused by dbseek ?
Ehab Samir Aziz
 
Posts: 334
Joined: Fri Oct 14, 2005 1:54 pm

Postby Ehab Samir Aziz » Tue Mar 28, 2006 5:41 pm

Even that code does not focus on seeking x value ?!!!!
Ehab Samir Aziz
 
Posts: 334
Joined: Fri Oct 14, 2005 1:54 pm

Postby grumpy » Wed Mar 29, 2006 4:30 am

Use SET SCOPE its faster and you can use ranges.
grumpy
 
Posts: 48
Joined: Tue Dec 27, 2005 12:40 pm
Location: Australia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 78 guests