Bulk Edit Data Elements |
The Bulk Edit Data Elements utility allows bulk changes to be made to data elements in the PxPlus data dictionary and applied simultaneously to multiple selected tables. This utility provides a way to quickly update data elements values, which are common or similar in multiple tables, or easily correct any inconsistencies in the data dictionary.
The utility loads the Element Definitions grid based on the tables selected in the Select Tables tree view. The grid columns are based only on certain fields in the data element definition, not all the fields. The utility uses the data elements values in the grid columns to determine how to display the data elements and tables. It does not check all the fields in the data dictionary record.
A data element with the same values across multiple (*All*) tables will be listed once in the grid. If an element value in the grid columns is slightly different in two (or more) tables, the data element will be listed with the same name more than once. An example of this is shown in the screen shot below where ContactName is listed twice because of the different Description in the two tables.
A log showing the applied data element changes is also available.
(The Bulk Edit Data Elements utility was added in PxPlus 2023.)
To invoke this utility, use one of the following methods:
Location |
Method |
Click the Bulk Edit tool bar button. | |
Enter or select the name of an existing data dictionary table. From the menu bar, select Edit > Bulk Edit Elements. |
The Bulk Edit Data Elements window is displayed below with a sample entry:
This window consists of the following:
Select Tables |
Tree view list of tables in the data dictionary, sorted by group, in alphabetical order. To select/deselect all the tables, click the All tables check box at the top of the tree view. To select/deselect a single table, click the check box beside the table name. To select/deselect all the tables within a group, click the check box beside the group name. Tables that are not assigned to a group are listed under "No group assigned" at the top of the tree view. | ||||||||||||||||||
Element Definitions |
Grid that lists all the data elements in alphabetical order for all the tables selected in the Select Tables tree view. Once tables are selected, the Load Table Elements button is used to load the grid. When a value in a cell changes, the cell shows a blue background. To put back the previous value, right click on the cell and select Reset Value. The value can only be reset if the change has not been applied. This grid consists of the following:
| ||||||||||||||||||
Collapse/Expand |
Toggle button used to collapse/expand the list of tables in the Select Tables tree view. | ||||||||||||||||||
Button that loads the grid with data elements based on the tables selected in the Select Tables tree view. If the grid is already loaded and has pending changes (cells will have a blue background), a message will display about applying the changes. | |||||||||||||||||||
Update Physical Files |
Button that invokes the Update Physical Files utility. If there are data element changes that have not been applied, a message will display. | ||||||||||||||||||
View Log |
(Available when data element changes are applied) Button that displays a log of the changes applied. The log can also be printed and saved, if desired. The log accumulates the changes until you exit the utility. | ||||||||||||||||||
Apply |
(Available when changes are entered in the Element Definitions grid) Button that is used to update tables with the changes made to the element values in the grid columns. If the Update Tables column for an element shows the word *All*, changes will be applied to all tables in the drop down list. | ||||||||||||||||||
Exit |
Button that closes the Bulk Edit Data Elements utility. If there are data element changes that have not been applied, a message will display. |