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

RecordSet.isLocal( ) Method > RecordSet.isLocal( ) Method

Name

RecordSet.isLocal( ) Method

Synopsis

                     myRecordSet.isLocal( )

Returns

The Boolean value true if the RecordSet did not come from a remote method; false if it did.

Description

The isLocal( ) method allows you to test a given recordset to determine if it came from an application server as the result of a Flash Remoting call or if it was created locally.

Example

The following code displays true because it is a locally created recordset:

#include "RecordSet.as"
var myRecordset_rs = new RecordSet(["First", "Last", "Email"]);
myRecordset_rs.addItem({First:"Tom",Last:"Muck",Email:"tom@tom-muck.com"});
trace(myRecordset_rs.isLocal( ));

See Also

RecordSet.getNumberAvailable( ), RecordSet.isFullyPopulated( )


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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