Guys:
Using the XBROWSE() function: how can I create a scoped filter ? Thank you.
Guys:
Using the XBROWSE() function: how can I create a scoped filter ? Thank you.
Use a scoped index.
James:
Thank you for your reply, but maybe my question was not clear at all: I need to know if XBROWSE() have any data or parameter to allow for the display of a subset of records (maybe based on key value). Thank you.
Hunter,
Why can't you use a scoped index for that? Maybe you are using an array?
James
HunterEC wrote:James:
Thank you for your reply, but maybe my question was not clear at all: I need to know if XBROWSE() have any data or parameter to allow for the display of a subset of records (maybe based on key value). Thank you.
#Include "Ord.ch"
...
...
Select 1
Use Customer via "DBFCDX" SHARED
Set Order to Tag State
cState := "SC"
Set Scope to cState
Go Top
xBrowse()
CLose DatabasesJames, Rao, Rick:
Thank you all. I thought XBROWSE() has a data to do this but your index based solutions is what I'd been using. Thank you very much.
Hunter,
The older TWBrowse had crude scope settings built-in, but that was done probably before NTXs had scoping (probably when most of us were still using Clipper). Most everyone is using CDXs now, but even NTXs have scopes under (x)Harbour so there is no need for scoping in browse objects.
Anyway, that is my guess.
James
James Bott wrote:Hunter,
The older TWBrowse had crude scope settings built-in, but that was done probably before NTXs had scoping (probably when most of us were still using Clipper). Most everyone is using CDXs now, but even NTXs have scopes under (x)Harbour so there is no need for scoping in browse objects.
Anyway, that is my guess.
James