Freigeben über


KeyFieldList Property

Specifies a comma-delimited list of primary fields for the cursor or CursorAdapter object. When working with this property for regular cursors, use the CURSORSETPROP( ) and CURSORGETPROP( ) functions. Read/write.

Note    Setting KeyFieldList for a CursorAdapter object overrides the property setting of a cursor when attached to a CursorAdapter object. That is, changing the settings on the cursor using CURSORSETPROP() has no effect.

CursorAdapter.KeyFieldList [= cList]

Property Values

  • cList
    Character data type. The cList parameter specifies a comma-delimited list of primary fields for the cursor or CursorAdapter object and does not have a default value.

    Note   You must include a list of field names when using automatic updating for updates to work.

See Also

Properties | CursorAdapter Object Properties, Methods, and Events | CURSORGETPROP( ) Function | CURSORSETPROP( ) Function

Applies To: CursorAdapter Class