<% theac=ALLTRIM(TRANSFORM(orequest.querystring('ac'))) tsql=[SELECT accountid, name FROM (']+dbclocation+[accounts.dbf') where accountid=']+theac+['] &tsql IF RECCOUNT()=1 RETURN [{"name":"]+ALLTRIM(name)+["}] ELSE RETURN [{"name":"not found!"}] endif %>