Partager via


Cursor Object

Created when a table or view is added to the data environment for a form, form set, or report.

Cursor

Remarks

The cursor object makes it possible for you to specify or determine properties for the table or view when the form, FormSet or report is run.

Note that setting a cursor object property at run time generates an error (with the exception of the Filter and Order properties, which can be set at run time). For a new property setting to take effect, you must call the CloseTables and OpenTables methods for the data environment. Also, if you change the Order property at run time of a cursor that is involved in a one-to-many relationship, the one-to-many relationship is broken.

See Also

Tasks

How to: Set the Data Environment

Reference

Cursor Object Properties, Methods, and Events

DataEnvironment Object

Relation Object

Other Resources

Objects, Collections, and Classes

Language Reference (Visual FoxPro)