Главная страница | назад

Article #15923: RecordCount isn't working!

 Question and Answer Database

FAQ923C.txt   RecordCount isn't working!
Category   :Data Components
Platform    :All
Product    :C++Builder  1.x


I'm reading the RecordCount property of my dataset,
and it's giving me a result I know is wrong. What
do I need to do?


You must call the Last() member prior to
examining the RecordCount property. This 
moves the cursor to the last record, which
allows the function that returns the RecordCount
property to operate properly.

7/2/98 10:32:32 AM

Last Modified: 01-SEP-99