if DBPipeline['vn'] = GetSQLStringData('select an from an_stat where an = "'+DBPipeline['vn']+'" ') then
value := GetSQLStringData('select concat( age_y," »Õ ") from an_stat where an = "'+DBPipeline['vn']+'" ')
else
value := GetSQLStringData('select concat(age_y," »Õ ") from vn_stat where vn = "'+DBPipeline['vn']+'" ') ;
BMS call center