display str ComName()
{
CompanyInfo ci;
str Name;
;
Name=this.dataAreaId;
select ci where ci.DataArea==this.dataAreaId;
Name=ci.Name;
return Name;
}
this is the display method, i created this one for Example on table called X table , then i created a query and used this table as data source