how to add a one image field in a list page and print that image according to the Boolean field

Hi Experts,

I am trying to add a “high priority image”(it is a BLOB fileld from another table) column in sales list page. Now i want to show that column according to a boolean field from sales list page. that is assume that “high priority order” is a boolean field and i want to show that “high priority image” column according to that boolean value.

I have written code in onaftergetrecord of that page like

Xtable.calcfields(“High priority image”)

if “High priority Order” Then

Xvis :=true

else

Xvis:=false;

Then i given this xvis(Boolean Global Variable) To that column visible property but it is not working.

Can any one help me out from this problem

Thanks

Mahesh .U

Mahesh

Have you used setrange or get to find the record on the other table? Need to do this pre calcfields.

Neil