The following example opens the testdata
database. CREATE SQL VIEW is used to create a local SQL view named myview
. The View Designer is displayed, allowing you to specify tables and conditions for the SQL view. After you save the SQL view you create, information about the SQL views in the database is displayed.
CLOSE DATABASES
OPEN DATABASE (HOME(2) + 'Data\testdata')
CREATE SQL VIEW myview
CLEAR
DISPLAY VIEWS