source

The source object represents an external data source.

Hierarchy of objects

Model

Child objects

sourceSet Model

connect

Parent class

node class class

Properties

Name

Description

Type

Access

db

Specifies the technology used to communicate with a database.

String

Read /Write

use

Invokes a prototype.

String

Read /Write

usehref

Invokes an external prototype.

String

Read /Write

Methods

Name

Description

Returns

addNew

Appends a new record to the record set.

Empty

cancel

Cancels any changes made to the current or new row of a record set object, or the field collection of a record object, prior to calling the updatemethod.

Empty

cancelBatch

Cancels a pending batch update.

Empty

close

Closes a connection to a data source.

Empty

delete (FormCalc Only)

Deletes the current record from the record set.

Empty

deleteRecord

Deletes the current record from the record set.

Empty

first

Moves to the first record in the record set, and populates the data model with the record data.

Empty

hasDataChanged

Determines whether the current record data has changed.

Boolean

isBOF

Determines if the current location is at the beginning of the record set. The bofAction property must be set to stayBOF.

Boolean

isEOF

Determines if the current location is at the end of the record set. The eofAction property must be set tostayEOF.

Boolean

last

Moves to the last record in the record set, and populates the data model with the record data.

Empty

next

Moves to the next record in the record set, and populates the data model with the record data.

Empty

open

Connects to the data source and populates the data model with the results of the current record.

Empty

previous

Moves to the previous record in the record set, and populates the data model with the record data.

Empty

requery

Updates the current data binding by re-executing the query on which the object data is based. Calling this method is equivalent to calling the close and open methods in succession.

Empty

resync

Refreshes the current record set or data connection.

Empty

update

Updates the current record in the record set.

Empty

updateBatch

Writes all pending batch updates to the data source.

Empty

// Ethnio survey code removed