Page tree
Skip to end of metadata
Go to start of metadata

Problem

When I use the DataCursor and I try to get the value for DataCursor.RowCount, I get back the value of -1.   Is there a way I can get the RowCount for DataCursor?  

Solution

The DataCursor exposes the number of records returned by the cursor, but that value is only available after the cursor is opened. So, you need to access the RowCount property after calling the Open method.

Error rendering macro 'contentbylabel' : parameters should not be empty