Line number

Line number

Postby Natter » Sun May 14, 2023 9:36 am

Hi,

There is an xBrowse with an array. If there is no filter (len(oBrw:filter)=0), then the number of the current line with so
oBrw:nArrayAt. However, if there is a filter, oBrw:nArrayAt will have the value of the filter string. How do I get the current xBrowser line number when using a filter ?
Natter
 
Posts: 1120
Joined: Mon May 14, 2007 9:49 am

Re: Line number

Postby nageswaragunupudi » Sun May 14, 2023 9:50 am

(len(oBrw:filter)=0)

There is no data like oBrw:filter
You will get a runtime error.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10251
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Line number

Postby Natter » Sun May 14, 2023 9:52 am

len(oBrw:aFilter)=0
Natter
 
Posts: 1120
Joined: Mon May 14, 2007 9:49 am

Re: Line number

Postby nageswaragunupudi » Sun May 14, 2023 9:55 am

oBrw:KeyNo
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10251
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Line number

Postby Natter » Sun May 14, 2023 10:09 am

Thanks !
Natter
 
Posts: 1120
Joined: Mon May 14, 2007 9:49 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 13 guests