BackUp LevelNext

CCFXQuery::GetRowCount

LPCSTR CCFXQuery::GetRowCount(void)

Retrieves the number of rows in the query. Returns the number of rows contained in the query.

Example

The following example retrieves the number of rows in a query and writes it back to the user:

CCFXQuery* pQuery = pRequest->GetQuery() ;
char buffOutput[256] ;
wsprintf( buffOutput,
    "The number of rows in the query is %ld.",
    pQuery->GetRowCount() ) ;
pRequest->Write( buffOutput ) ;
 

BackUp LevelNext

allaire

AllaireDoc@allaire.com
Copyright © 1998, Allaire Corporation. All rights reserved.