xBrowse change record values runtime

Post Reply
dagiayunus
Posts: 69
Joined: Wed Nov 19, 2014 1:04 pm
Contact:

xBrowse change record values runtime

Post by dagiayunus »

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
Dagia Yunus.
Rajkot, India

FWH 17.04
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: xBrowse change record values runtime

Post by nageswaragunupudi »

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

G. N. Rao.
Hyderabad, India
dagiayunus
Posts: 69
Joined: Wed Nov 19, 2014 1:04 pm
Contact:

Re: xBrowse change record values runtime

Post by dagiayunus »

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.
Dagia Yunus.
Rajkot, India

FWH 17.04
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: xBrowse change record values runtime

Post by nageswaragunupudi »

Ok.

Code: Select all

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

Re: xBrowse change record values runtime (SOLVED)

Post by dagiayunus »

Thanks Sir.

it worked.

Regards
Yunus.
Dagia Yunus.
Rajkot, India

FWH 17.04
Post Reply