How to get fieldcount before opening a query?

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
mighty
Posts: 18
Joined: Thu 01 Jun 2006 11:35

How to get fieldcount before opening a query?

Post by mighty » Tue 08 Jan 2008 15:08

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!

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Wed 09 Jan 2008 14:06

Use FieldDefs.Count after call to Prepare method.

Post Reply