Provides the primary interface for viewing and editing external database tables from within the program.
Summary
The Data View window displays records from the selected database table. The Data View contains a set of buttons, a grid window for viewing and editing records, and a set of navigation controls for navigating through the record set. After you open the Data View window, the Data View menu is added to the menu bar. You can specify whether the Data View window can be docked or anchored by right-clicking the title bar and choosing an option from the shortcut menu.
The appearance of the Data View window is governed by your computer's system settings, and it can be changed in the Windows Control Panel. Text in the cells is displayed using the system window text color. If the database table is opened in Read-only mode, the cell background is shown using the system 3D objects button shade color (light gray by default). If it is opened in Edit mode, the cell background is shown using the system window color (white by default). When a cell is selected, it is shown using the system- selected items background and text colors.
List of Options
The Data View window has the following components.
Create links and display linked records and graphical objects.
Links the currently selected database table row or rows to one or more graphical objects. The link and, if desired, the label from the currently selected link and label templates are created in the Data View window. To change the current link creation setting, choose the Link and Label Settings button. Three distinct link methods are available:
- Link
-
Creates a link to one or more graphical objects without creating a corresponding label. If the current drawing has a selection set already established, a link is created for each object in the selection set. If the current drawing does not have a current selection set, you are prompted to select objects to link to.
- Create Freestanding Label
- Create Attached Label
-
Creates a link to one or more graphical objects and creates a corresponding label. If the current drawing has a selection set already established, a link is created for all objects in the selection set. If the current drawing does not have a current selection set, you are prompted to select objects to link to.
View Linked Objects in Drawing
Selects graphical objects in the current drawing that are linked to the currently selected Data View row or rows.
Selects records in the Data View window that are linked to the current selection set of graphical objects.
AutoView Linked Objects in Drawing
Displays linked objects automatically in the current drawing as you select rows from the database table.
AutoView Linked Records in Table
Displays linked records automatically in the Data View window as you select graphical objects in the current drawing.
Opens the Data View and Query Options dialog box, in which you can specify a number of settings that affect the interaction and display of linked objects in the Data View window and the current drawing.
Query, Return to Query, and Return to Link Select
Opens either the New Query dialog box, the Query Editor, or the Link Select dialog box, depending on the method used to open the Data View window. If the Data View window was opened to view or edit a database table, this button's tooltip is Query, and choosing it opens the New Query dialog box. If the Data View window was opened to return the results of a query, this button's tooltip is Return to Query, and choosing it returns you to the Query Editor. If the Data View window was opened to return the results of a Link Select operation, this button's tooltip is Return to Link Select, and choosing it returns you to the Link Select dialog box.
Creates a new link template, or specifies a link template from those that are defined for the open table. The selected link template is applied when you create new links in the current drawing. To create a new link template, select the New Link Template option from the Link Template list, and then choose the Link button flyout.
Creates a new label template, or specifies a label template from those that are defined for the currently selected table. The selected label template is applied when you create new labels in the current drawing. To create a new label template, select the New Label Template option from the Label Template list and choose either the Create Freestanding Label or the Create Attached Label button flyout. If there is no link template defined for the selected database table in the current drawing, the New Link Template dialog box is displayed.
Displays a subset of the records from a database table. You can select records by clicking the following elements:
- Column header: Selects all records in that column. Double-clicking a column header sorts its records in ascending order. Double-clicking a column header a second time sorts its records in descending order.
- Record header: Selects an individual record. Double-clicking a record header selects any graphical objects that the record is linked to in the drawing area.
- Grid cell: Selects one field of a given record. Double-clicking a cell selects it for editing.
- Grid header: Selects the entire table. Double-clicking the grid header commits any changes made during an editing session and closes the Data View window.
Displays the following options when you right-click the selected cell.
- View Linked Objects
- Link
-
Links the current row to a graphical object. The link and, if desired, the label from the currently selected link and label templates are created in the Data View. You can specify whether a link, a freestanding label, or an attached label is created by changing the settings from the Link and Label Settings cell shortcut menu option.
- Link and Label Settings
- Find
- Replace
- Edit
- Cut
- Copy
- Paste
- Clear
Displays the following options when you right-click one or more selected record headers.
- View Linked Objects
- Link
-
Links the selected row or rows to one or more graphical objects. The link and, if desired, the label from the currently selected link and label templates are created in the Data View window. You can specify whether a link, a freestanding label, or an attached label is created by choosing the Link and Label Settings shortcut menu option.
- Link and Label Settings
- Copy
- Delete Record
- Add New Record
- Clear All Marks
Data View Print Preview Window
Loads into the Data View window a preview image of how the current table appears when you print it. When the Data View window is in Preview mode, none of the primary Data View buttons is available and the navigation buttons are removed from the bottom of the window. You can open this dialog box using the following methods: