re: display method with example for automatically

how to bring the values automatically into a table by using display method

I think your post is about to update the value into table by using display method!

you can use edit method.

edit Mileage mileage(boolean set, Mileage value)
{
CarTable carTable;
Mileage ret;
;
carTable = CarTable::find(this.CarId, set);
if (set)
{
ttsbegin;
carTable.Mileage = value;
carTable.update();
ttscommit;
}
else
{
ret = carTable.Mileage;
}
return ret;
}