Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I get the record count from the return ResultSet?

record ResultSet Return
0
Posted

How can I get the record count from the return ResultSet?

0

You can’t, unless you go through it. This is because ResultSet is not a container class. If you use VC++/VB CRecordSet/RecordSet class, the answer would be exact the same. They don’t load all the data from database for you, but load data for you when you need it. From functional point of view, it is more like an iterator with DB access.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123