• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

RecordSet.getNumberAvailable( ) Method > RecordSet.getNumberAvailable( ) Method

Name

RecordSet.getNumberAvailable( ) Method

Synopsis

                     myRecordSet.getNumberAvailable( )

Returns

An integer specifying the number of records that have currently downloaded from the server.

Description

The getNumberAvailable( ) method allows the developer to retrieve a count of how many records have been downloaded from the server when utilizing pageable resultsets from a ColdFusion MX Server. For example, if you are retrieving a resultset of 53 records in pages of 10, the getNumberAvailable( ) method tells you how many records are available on the client upon calling the method. In this case, the method will return 10, 20, 30, 40, 50, or 53, depending on when it is called.

If the getNumberAvailable( ) method returns the same number as the getLength( ) method, the entire recordset is populated. You can also use the isFullyPopulated( ) method to determine if the recordset is completely populated.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint