Search found 36 matches: cexpr

Return to advanced search

Re: How do I know the field name in xbrowse:column

Dear Mst.Rao and Maurizio, I got another problem for ::nFreeze. If you scroll to right until the column hide under freeze, the :cExpr will show incorrected. I use cField := oBrw:aCols[oBrw:nColSel]:cExpr Maurizio Dear Master, It works correctly. Thx. Try cField := oBrw:SelectedCol():cExpr
by dutch
Tue Dec 19, 2023 6:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How do I know the field name in xbrowse:column
Replies: 22
Views: 2251

Re: How do I know the field name in xbrowse:column

dutch wrote:Dear Mst.Rao and Maurizio,
I got another problem for ::nFreeze. If you scroll to right until the column hide under freeze, the :cExpr will show incorrected.
Maurizio wrote:I use

cField := oBrw:aCols[oBrw:nColSel]:cExpr

Maurizio


Try
Code: Select all  Expand view
cField := oBrw:SelectedCol():cExpr
by nageswaragunupudi
Mon Dec 18, 2023 4:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How do I know the field name in xbrowse:column
Replies: 22
Views: 2251

Re: How do I know the field name in xbrowse:column

Dear Mst.Rao and Maurizio,
I got another problem for ::nFreeze. If you scroll to right until the column hide under freeze, the :cExpr will show incorrected.
Maurizio wrote:I use

cField := oBrw:aCols[oBrw:nColSel]:cExpr

Maurizio
by dutch
Sun Dec 17, 2023 5:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How do I know the field name in xbrowse:column
Replies: 22
Views: 2251

Re: XBROWSE Column Question

... --> Currently sorted column obect. i.e., the column sorted on the ordsetfocus() We can now get anything oBrw:oSortCol:cHeader oBrw:oSortCol:cExpr // field name With XBrowse, most of the times, we do not have to write any special code.
by nageswaragunupudi
Tue May 09, 2023 9:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE Column Question
Replies: 23
Views: 867

Re: XBROWSE Column Question

... { |oCol| oCol:cSortOrder == OrdSetFocus() } )? nColoCol := oBrw:aCols[ nCol ]? oCol:nCreationOrder, oCol:cHeader, c:cExpr// or even betterXBROWSER oCol  Even if cHeader is different from the field name, oCol:cExpr contains the field name. Now there is a short-cut. ...
by nageswaragunupudi
Sat May 06, 2023 2:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE Column Question
Replies: 23
Views: 867

Re: How do I know the field name in xbrowse:column

... "Name", "Quantity", "Rate", "Amount" ;  The expressions listed in COLUMNS clause are stored in each oCol:cExpr. So, oCol:cExpr need not always contain the field name, but actually the expression used in the COLUMNS clause.
by dutch
Tue Feb 01, 2022 1:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How do I know the field name in xbrowse:column
Replies: 22
Views: 2251

Re: How do I know the field name in xbrowse:column

... "Quantity", "Rate", "Amount" ;  The expressions listed in COLUMNS clause are stored in each oCol:cExpr. So, oCol:cExpr need not always contain the field name, but actually the expression used in the COLUMNS clause.
by nageswaragunupudi
Mon Jan 31, 2022 3:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How do I know the field name in xbrowse:column
Replies: 22
Views: 2251

Re: How do I know the field name in xbrowse:column

Dear Master Rao and Maurizio,

It works now.

Thanks both of you.
nageswaragunupudi wrote:oCol:cExpr --> FieldName
by dutch
Thu Jan 27, 2022 9:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How do I know the field name in xbrowse:column
Replies: 22
Views: 2251

Re: How do I know the field name in xbrowse:column

I use

cField := oBrw:aCols[oBrw:nColSel]:cExpr

Maurizio
by Maurizio
Mon Jan 24, 2022 9:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How do I know the field name in xbrowse:column
Replies: 22
Views: 2251

Re: How do I know the field name in xbrowse:column

Dear Mr.Rao,

oCol:cExpr is define columns name at first start. When hide some column, oCol:cExpr will show wrong fieldname.
nageswaragunupudi wrote:oCol:cExpr --> FieldName
by dutch
Mon Jan 24, 2022 6:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How do I know the field name in xbrowse:column
Replies: 22
Views: 2251

Re: How do I know the field name in xbrowse:column

Dear Master,

It shows nothing (empty).
nageswaragunupudi wrote:oCol:cExpr --> FieldName
by dutch
Thu Dec 23, 2021 4:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How do I know the field name in xbrowse:column
Replies: 22
Views: 2251

Re: FWH 2103: XBrowse: oSortCbx

... VAR oBrw:cSortOrder SIZE 100,400 PIXEL OF oDlg ; ON CHANGE ( oBrw:Seek( "" ), ; oBrw:cFilterFld := oBrw:oCol( oBrw:cSortOrder ):cExpr, ; oBrw:SetFocus() ) It run but I wish Know if this is right for you, thanks at last , When we select a column of xbrowse ( Autosort) it refresh ...
by Silvio.Falconi
Tue Jun 01, 2021 8:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 2103: XBrowse: oSortCbx
Replies: 23
Views: 2918

Re: XBrowse: Using Get for incremental Seek/Filters

... oCbx VAR cHead ITEMS aHead ; SIZE 150,200 PIXEL OF oTabella ; ON CHANGE ( oBrw:Seek( "" ), ; oBrw:cFilterFld := oBrw:oCol( cHead ):cExpr, ; oBrw:SetFocus() ) where we list the caption of the columns but id the user change the columns configuration , how I can resolve ? you sad me ...
by Silvio.Falconi
Thu Feb 18, 2021 8:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse: Using Get for incremental Seek/Filters
Replies: 32
Views: 3791

Re: New FTDN May/Mayo 2019 (FWH 19.05)

... un filtro adicional. * Nueva función AShuffle( aArray ) --> aArray Ordena una matriz dada en orden aleatorio. * Nueva función DBF_ApplyParams( cExpr, aParams ) --> cExpr Sustituye en el lugar donde está ? en cExpr por el valor correspondiente en aParams y devuelve la expresión completa. ...
by Antonio Linares
Fri Jun 07, 2019 11:14 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN May/Mayo 2019 (FWH 19.05)
Replies: 4
Views: 3158
Next

Return to advanced search