# loadAndDisplayRecord

Loads a record, based on the value in the control, given as a parameter in the first argument and displays it. This function just combines [loadRecord ](https://brixxbox.gitbook.io/brixxbox-documentation/client-api-reference/functions/loadrecord)and [displayRecord](https://brixxbox.gitbook.io/brixxbox-documentation/client-api-reference/functions/displayrecord)

### Example Usages

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

```javascript
   brixxApi.loadAndDisplayRecord(keyFieldID);
```

```javascript
   await brixxApi.loadAndDisplayRecord(keyFieldID);
```
