
218 CHAPTER 4
GetRowsFound
GetRowsFound
Use this method to get the number of rows found as a result of a search
operation.
Syntax
PCDGetDoc.GetRowsFound()
PCDLookup.GetRowsFound()
PCDPutDoc.GetRowsFound()
PCDRecentDoc.GetRowsFound()
PCDSearch.GetRowsFound()
Returns
Returns a long integer that contains the number of rows in the result
set.
Usage
You should exercise caution before calling this method because the
server will not return the information until the search has completed
processing and has retrieved all data from the database. Large data sets
can subject the user to an unacceptably long wait. If this is a possibility,
you can use SetRow and NextRow methods to begin iteration through
a data set before all processing completes.
Example
The Example in PCDGetDoc illustrates how you can use
GetRowsFound in your custom applications.
Related Items
See the following objects:
PCDGetDoc
PCDLookup
PCDPutDoc
PCDRecentDoc
Kommentare zu diesen Handbüchern