Partager via


Database Property

Specifies the path to the database that contains the table or view associated with a cursor or CursorAdapter. Read-only at design time; read/write at run time.

Note

When you access a regular cursor using the CURSORSETPROP() function, the Database property is read-only at run time.

DataEnvironment.Cursor.Database [ = cPath ]

Return Value

  • cPath
    Specifies the full path to the database (.dbc) file.

Remarks

Applies To: Cursor Object

If the cursor is based on a free table, Database contains an empty string ("").

See Also

Reference

CursorSource Property

CURSORSETPROP( ) Function

Database Manipulation Language

Other Resources

Properties (Visual FoxPro)

Language Reference (Visual FoxPro)