Order Property (Visual FoxPro)

Specifies the controlling index tag for a Cursor object. Available at design time and run time.

DataEnvironment.Cursor.Order[ = cTagName]

Return Value

  • cTagName
    Specifies an existing index tag for a table.

Remarks

Applies To: Cursor

If the ChildOrder property of a relation object is set, the Order property is ignored.

Use the Order property to specify the order in which records are displayed or accessed. Setting the Order property changes the index order and moves the record pointer to the first record in the cursor.

See Also

Reference

ChildOrder Property

INDEX Command

SET ORDER Command

Other Resources

Properties (Visual FoxPro)