Partager via


Prepared Property

Specifies whether to prepare SQL statements for subsequent REQUERY( ) function calls. You can use REQUERY( ) to retrieve data again for an SQL view. When handling this property for regular cursors, use the CURSORSETPROP( ) and CURSORGETPROP( ) functions. Read/write.

Note    Setting Prepared for applies only to 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.

For more information, see REQUERY( ) Function and SQLPREPARE( ) Function.

CursorAdapter.Prepared [= lValue]

Property Values

  • lValue
    Logical data type. The following table lists the values for lValue.
    lValue Description
    True (.T.) Prepare SQL statements for subsequent REQUERY( ) function calls. (Default)
    False (.F.) Do not prepare SQL statements for subsequent REQUERY() function calls.

See Also

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

Applies To: CursorAdapter Class