Scoping Views

Each data type view displays the rows of data returned by querying the selected data sources. The query used to populate the view can be applied to the entire data source selection, or it can be applied to a subset of data based on selected rows in a related data type view. The View Scope option is used to control this query scoping behavior. The View Scope drop down list contains a list of all the related data types that are candidates for scoping the view. The dropdown content differs for each data type view. All data type views contain Data Source as one of the options. Selecting the Data Source option causes all data in the selected data sources to be shown without regard for any row selections that may exist on any related data type views.

The following image shows the View Scope options for the OpenSpirit Pick data type view. The Pick data type query can be scoped to rows selected in the Project data type view, the Well data type view, or the Well Details data type view. Scoping the Pick view to the Well view causes the Pick query to return only picks that belong to wells that are currently selected in the Well view. The query may also be further constrained by the Row Limit setting and any Query Filter that may also be set on the Pick data type view.

WellPickViewScopeOptions.jpg

A warning message is displayed when running a data type query where the View Scope is set to a data type where no rows are currently selected. The following image shows an example of setting the Pick data type view's scope to Well when no rows are currently selected in the Well data type view. This warning is given to remind the user why no pick data rows are being returned by the query. Checking the Do not show this dialog again option on the warning prevents this warning from being shown for any data type view. Display of this warning can be re-enabled using the Data Selector View preference window.

NoRowSelectedWarningDialog.jpg