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

RecordSet.setField( ) Method > RecordSet.setField( ) Method

Name

RecordSet.setField( ) Method

Synopsis

                     myRecordSet.setField(index, fieldName, value)

Arguments

index

The index number of the recordset row that contains the field to be replaced.

fieldName

The field name of the field that you want to replace the contents of.

value

The value that you are setting the field to.

Description

The setField( ) method replaces the contents of a single field within a row, with no effect on the other fields, allowing for finer control over updating than replaceItemAt( ).

Example

The following code creates a recordset and then replaces the email address in the first record:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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