Wednesday, 16 November 2016

Add true and false image on your form







Add true and false image on your form



Today i got little improvement. There i have to check qty is greater then another qty.
If it true then print right image or if false then print cross image front of qty field.

Let do this with minimum code.

  1.  First add window control in your form.
  2. Fill the properties like this




4. Now the right code in qualitycheckline table. Mathod.



display inventtestimage resultimage()
{
#resAppl
real total;
;
total = (this.EndQty /  minOne(this.qty())) * 100 ;
if(total < 10)
 return #Image_OK;

return #Image_NotOk;
}





Thanks

Akshay

No comments:

Post a Comment