Hi all, Please I got small issue with lazarus on how to pass SQL statement with a function as above: SELECT city, UCASE(capital) FROM country; the capital column doesn't show on the DBGrid Thanks