NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: cwtart on October 08, 2013, 11:26:58 PM

Title: how to display icon in browse column
Post by: cwtart on October 08, 2013, 11:26:58 PM
I could not find and example for this.

I want to display a conditional icon in a browse list - either one icon or another, depending on a condition.

Chuck
Title: Re: how to display icon in browse column
Post by: terryd on October 09, 2013, 12:07:55 AM
Hi Chuck
I am assuming you want to do this on a line by line basis
So create a localdata variable say testimage as byte
add the variable to your browse use the variable name as the equate
set the picture to '@p p'
On the conditional tab
Assume you have a value in the table record called REC:Amount
Insert a display option REC:Amount > 100
in the image field 'images/smalltik.png'
OK
Insert another display option REC:Amount <= 100
in the image field 'images/change.png'
OK

This should display the icon based on the value on REC:Amount in each row

I just used 2 images that I found in the images folder but obviously you use your own
Title: Re: how to display icon in browse column
Post by: cwtart on October 09, 2013, 03:38:00 AM
Terry,

That worked great - thanks for the help.

Chuck