@ r, c XBROWSE oBrw SIZE ....................
DATASOURCE cAlias ;
COLUMNS "FIELD3", "LEFT(FIELD1,10)", "RIGHT(FIELD1,10)", "FIELD4", ....;
HEADERS ...........
G. N. Rao.
Hyderabad, India
@ r, c XBROWSE oBrw SIZE ....................
DATASOURCE cAlias ;
COLUMNS "FIELD3", "LEFT(FIELD1,10)", "RIGHT(FIELD1,10)", "FIELD4", ....;
HEADERS ...........
Muchas gracias.
nageswaragunupudi wrote:@ r, c XBROWSE oBrw SIZE ....................
DATASOURCE cAlias ;
COLUMNS "FIELD3", "LEFT(FIELD1,10)", "RIGHT(FIELD1,10)", "FIELD4", ....;
HEADERS ...........
XBrowse automatically, on its own, reads and parses all index expressions of all open indexes and decides which index can be used for which column and stores the Tag name in oCol:cSortOrder and order bag name in oCol:cOrdBag and uses this information to change the index order when the user clicks on the header. In 99% of the cases, this should work satisfactorily.
The programmer can override this behavior by specifying oCol:cSortOrder and oCol:cOrdBag himself, but this may be done only if xbrowse fails to recognize the correct index tag.
Ok. All is working ok, but I need to know when de user has changed the index clicking on header, then I can write the fieldname in Dialog.
For example something like this:
'On change indexord()' msginfo("Active index is "+str(indexord())). My problem is I don't know identifier when user is clicking on header with Xbrowse
Thank you
You are posting all your doubts on XBROWSE under TCBROWSE topic.
Please open a new post for your doubts on XBrowse.