@ r, c XBROWSE oBrw SIZE ....................
DATASOURCE cAlias ;
COLUMNS "FIELD3", "LEFT(FIELD1,10)", "RIGHT(FIELD1,10)", "FIELD4", ....;
HEADERS ...........
"PROBLEMILLA" CON TCBROWSE FWH
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: "PROBLEMILLA" CON TCBROWSE FWH
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
Re: "PROBLEMILLA" CON TCBROWSE FWH
Muchas gracias.
Re: "PROBLEMILLA" CON TCBROWSE FWH
No podía imaginar que era tan fácil. Y supongo que otra duda que tengo también será fácil, pero que no veo:nageswaragunupudi wrote:@ r, c XBROWSE oBrw SIZE ....................
DATASOURCE cAlias ;
COLUMNS "FIELD3", "LEFT(FIELD1,10)", "RIGHT(FIELD1,10)", "FIELD4", ....;
HEADERS ...........
Como se evalua el índice activo una vez que pinchamos un header? para indicarlo en texto en el Dialog.
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: "PROBLEMILLA" CON TCBROWSE FWH
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.
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.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
Re: "PROBLEMILLA" CON TCBROWSE FWH
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
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
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: "PROBLEMILLA" CON TCBROWSE FWH
You are posting all your doubts on XBROWSE under TCBROWSE topic.
Please open a new post for your doubts on XBrowse.
Please open a new post for your doubts on XBrowse.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India