XFA Specification
Chapter 20, Source Set Specification
Source Set Element Reference
775
The cursorType property
Controls what type of cursor is used. The text within quotation marks for each value below is taken directly
from the ADO 2.6 API Reference [ADO], under the entry for "CursorTypeEnum".
forwardOnly
"Default. Uses a forward-only cursor. Identical to a static cursor, except that you can only scroll
forward through records. This improves performance when you need to make only one pass
through a Recordset."
unspecified
"Does not specify the type of cursor." The database or XFA processor decides on the type of cursor.
XFA does not provide a way to determine what type of cursor was chosen, so the form creator
must make pessimistic assumptions.
keyset
"Uses a keyset cursor. Like a dynamic cursor, except that you can't see records that other users add,
although records that other users delete are inaccessible from your Recordset. Data changes by
other users are still visible."
dynamic
"Uses a dynamic cursor. Additions, changes, and deletions by other users are visible, and all types
of movement through the Recordset are allowed, except for bookmarks, if the provider doesn't
support them."
static
"Uses a static cursor. A static copy of a set of records that you can use to find data or generate
reports. Additions, changes, or deletions by other users are not visible."
The eofAction property
Controls what happens when the cursor reaches a position past the last record in the record set.
moveLast
Notionally reposition to the last record in the set. When using a
forwardOnly
cursor the effect is
to stay at the last record rather than advancing to EOF.
stayEOF
Stay at the end. If an attempt is made to fetch another record in the forward direction the request
will return a null.
addNew
Insert a new record at the end.
The extras child
An enclosure around one or more sets of custom properties. The content of this element may be used by
custom applications.
For more information see "The
extras element".
The id property
A unique identifier that may be used to identify this element as a target.
Home Index Bookmark Pages
Pages: Home Index All Pages