Page 1 of 1

How to get fieldcount before opening a query?

Posted: Tue 08 Jan 2008 15:08
by mighty
I tried "prepare" method but i can't get fieldcount of current query.
Is there any way to get fieldcount before opening query?

Thanks,
Kadri.

PS: This query can be simple query or stored procedure!

Posted: Wed 09 Jan 2008 14:06
by Plash
Use FieldDefs.Count after call to Prepare method.