> For the complete documentation index, see [llms.txt](https://brixxbox.gitbook.io/brixxbox-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://brixxbox.gitbook.io/brixxbox-documentation/client-api-reference/functions/loadanddisplayrecord.md).

# 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 ](/brixxbox-documentation/client-api-reference/functions/loadrecord.md)and [displayRecord](/brixxbox-documentation/client-api-reference/functions/displayrecord.md)

### Example Usages

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

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

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