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 CursorAdapter objects 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]

Return Value

  • 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.

Remarks

Applies To: CursorAdapter Class

See Also

Reference

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

Other Resources

Properties (Visual FoxPro)