xBrowse change record values runtime

xBrowse change record values runtime

Postby dagiayunus » 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
dagiayunus
 
Posts: 85
Joined: Wed Nov 19, 2014 1:04 pm

Re: xBrowse change record values runtime

Postby nageswaragunupudi » 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
User avatar
nageswaragunupudi
 
Posts: 10632
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: xBrowse change record values runtime

Postby dagiayunus » Thu Apr 05, 2018 1: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
dagiayunus
 
Posts: 85
Joined: Wed Nov 19, 2014 1:04 pm

Re: xBrowse change record values runtime

Postby nageswaragunupudi » Thu Apr 05, 2018 1:58 pm

Ok.
Code: Select all  Expand view

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
User avatar
nageswaragunupudi
 
Posts: 10632
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: xBrowse change record values runtime (SOLVED)

Postby dagiayunus » Thu Apr 05, 2018 2:21 pm

Thanks Sir.

it worked.

Regards
Yunus.
Regards
Yunus

FWH 21.02
dagiayunus
 
Posts: 85
Joined: Wed Nov 19, 2014 1:04 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 95 guests