Creating Views
If you are already familiar with creating record definitions and writing SQL queries, creating online views is similar.
To create online views:
-
Clone a record definition:
-
Open an existing record definition.
-
Select
-
Specify the name of the view that you want to create.
-
-
Delete and add the appropriate fields.
All columns that are selected in your view should have a corresponding field in the record definition.
-
Set the record type to SQL View:
-
Select the Record Type tab for the record definition.
-
Select SQL View in the Record Type group box.
-
-
Click the Click to open SQL Editor button.
The order in which you list the columns in your SQL SELECT statement should match the order that you specified in the record definition. A SQL statement can be given for each platform.
-
Save the record definition.
-
Select to create the view in the database.
-
Select the Create Views check box under Build Options.
-
Click Build.