FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xBrowse change record values runtime
Posts: 85
Joined: Wed Nov 19, 2014 01:04 PM
xBrowse change record values runtime
Posted: Thu Apr 05, 2018 11:22 AM

Dear Sir,

I have database Field name LTYPE contain records as below
LTYPE
S
C
W

I want to Display Supplier for S in xbrowse
Client for C
and
Wsale for W records

Thanks & Regards
Yunus

Regards

Yunus



FWH 21.02
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: xBrowse change record values runtime
Posted: Thu Apr 05, 2018 11:52 AM

Set filter to "LTYPE='S'" or 'C' or 'W' for showing Supplier, Client or WSale

Regards



G. N. Rao.

Hyderabad, India
Posts: 85
Joined: Wed Nov 19, 2014 01:04 PM
Re: xBrowse change record values runtime
Posted: Thu Apr 05, 2018 01:28 PM
nageswaragunupudi wrote:Set filter to "LTYPE='S'" or 'C' or 'W' for showing Supplier, Client or WSale


Xbrowse should DISPLAY "Supplier" text instead of "S"


I have sent you screenshot in whatsapp.

Regards
Yunus.
Regards

Yunus



FWH 21.02
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: xBrowse change record values runtime
Posted: Thu Apr 05, 2018 01:58 PM
Ok.
Code (fw): Select all Collapse
WITH OBJECT oBrw:aCols[ i ]   // i is the column number of this column
   :nEditType     := EDIT_LISTBOX
   :aEditListTxt  := { { "C", "Client" }, { "S", "Supplier" }, { "W", "WSale" } }
END
Regards



G. N. Rao.

Hyderabad, India
Posts: 85
Joined: Wed Nov 19, 2014 01:04 PM
Re: xBrowse change record values runtime (SOLVED)
Posted: Thu Apr 05, 2018 02:21 PM

Thanks Sir.

it worked.

Regards
Yunus.

Regards

Yunus



FWH 21.02

Continue the discussion