# Driver Module Scope Best Practice

**URL:** <https://forum.inductiveautomation.com/t/driver-module-scope-best-practice/44799>\
**Category:** Module Development\
**Tags:** ignition80\
**Created:** [March 23, 2021, 3:18pm UTC](https://forum.inductiveautomation.com/t/driver-module-scope-best-practice/44799 "2021-03-23T15:18:52Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![kgamble](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kgamble/32/8019_2.png) [@kgamble](https://forum.inductiveautomation.com/u/kgamble)\
**Post date:** [April 3, 2021, 12:20am UTC](https://forum.inductiveautomation.com/t/driver-module-scope-best-practice/44799/15 "2021-04-03T00:20:17Z")

</div>

Found what I was looking for in a separate post!

> [@Wicket Database Dropdown Editor](https://forum.inductiveautomation.com/t/wicket-database-dropdown-editor/40967/5):
>
> Yeah - just look up the relevant record using the ID record paired with the ReferenceField:
> 
> ```auto
> DatasourceRecord dsr = context.getPersistenceInterface()
> .find(DatasourceRecord.META, dbSettings.getLong(DatabaseJournalRecord.DatasourceId));
> 
> ```

---

_[View the full topic](https://forum.inductiveautomation.com/t/driver-module-scope-best-practice/44799)._
