> 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/loadanddisplayrecordbyid.md).

# loadAndDisplayRecordById

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

### Example Usages

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

```javascript
   let recordId = 123;
   brixxApi.loadAndDisplayRecordById(recordId);
   
   await brixxApi.loadAndDisplayRecordById(recordId);
```
