CURSORGETPROP( ) Function Example

The following example opens the customer table in the testdata database. CURSORGETPROP( ) is then used to display the buffering mode for the table and the name of the database in which the table is contained.

CLOSE DATABASES
CLEAR

OPEN DATABASE (HOME(2) + 'data\testdata')
USE customer     && Open customer table

? CURSORGETPROP("Buffering") && Displays buffering mode
? CURSORGETPROP("Database")  && Displays database name