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

RecordSet.getItemID( ) Method > RecordSet.getItemID( ) Method

Name

RecordSet.getItemID( ) Method

Synopsis

                     myRecordSet.getItemID(index)

Arguments

index

An integer between 0 and the length of the RecordSet object minus one.

Returns

The internal ID number that Flash assigns when the record is added to the recordset.

Description

The getItemID( ) method returns an internal ID and is useful for determining the initial state of the RecordSet object (or the order in which records were added). If the order of the records in the recordset changes in some way, it can be restored or compared by using the original identifier that was given to each row when the recordset was created. Unlike the index of a record, which can change, the internal ID never changes and is destroyed if the row is deleted. The identifier of a deleted row is not reused again.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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