## Unique Key dialog

This dialog appears when you click in the value cell of the Unique Key property of of a refresh object in a library component in the Report Inspector, or click the Incremental Fetch button in the Display screen of the chart wizard. It helps you to specify a unique key to ensure there are no duplicated records in the library component or real time chart. See the dialog.

The following are details about options in the dialog:

Resources

Lists all the available data resources in the dataset used by the library component or real time chart.

Adds the selected fields to the Unique Key box.

Removes the selected fields from the Unique Key box.

Unique Key

Lists the fields you have added as the unique key, which is used to guarantee there are no two records with the same unique key value in the library component or real time chart.

Take real time chart for example. When a real time chart is specified with a unique key, each time when the chart automatically updates itself, the data that has the same unique key value as the previous loaded data records will be filtered and only data with different unique key value will be added to the chart. For instance, if you add the fields Country and Product ID as the unique key of a real time chart, when a record with the product ID 1 in USA has already been loaded into the chart, no more records of this product ID in USA will be added to the real time chart because they have the same unique key value.

OK

Applies the changes and closes the dialog.

Cancel

Does not retain any changes and closes the dialog.

Help

Displays the help document about this feature.

###### Related topics:

- Creating a real time chart