How to get a fieldcount from TIBSQL?

I'm using a TIBSQL component with my Interbase DB server. I want the
user to be able to execute a sql statement they type into the client and
have the results returned in comma-separated-value format. So, I add
their SQL to a TIBSQL component, execQuery and now I'm trying to return
the results. Does IBSQL provide someway to know how many fields/columns
where returned by the query? Do I have to use the heavier TQuery
component instead?