# displayRecord

Displays a record in an brixxbox app. To get a record, you could use e.g. [loadRecord](https://brixxbox.gitbook.io/brixxbox-documentation/data-storage/loadrecord)

### Parameters

1. the record.
2. the current control. This control is excluded from the discard changes check, that occurs before the record is displayed

### Example Usages

Simple (pay attention to the **await** keyword)

```javascript
   await brixxApi.displayRecord(myRecord, "myKeyControlId");
```
