HTML image field type

Hello,

I use the HTML image field ATLIKTA on grid, and I want that it show the image_1 on value = 0, and image_2 on value=1
On Record Event I do

if ( {busena} == 1)

       {atlikta} = '<img src="../sys__NM__OK.gif"/>';

But the image not changed on this value, why ? pls help me.

Re: HTML image field type

Why not you lookup image from another table ?
ex :

select
a.date,
a.privilege,
b.image

from data as a left join image as b on a.picture=b.code

so you could change your image or condition anytime with flexibility.

Re: HTML image field type

I can’t to set the image file with ‘<img src="…/sys__NM__OK.gif"/>’ about the database I don’t talking…

Re: HTML image field type

Yeah, i just only give you an option. since sc unpredictable when i upgraded from ver 5 to 6, i had to rewrite my events.
so when create Apps, i want to maximize database rule including condition that you described.

regards

suyono