I've found tutorials discussing the creation of a new customer attribute, and they include this:
Mage::getSingleton('eav/config')
->getAttribute('customer_address', 'building_entry_code')
->setData('used_in_forms', array('adminhtml_customer_address'))
->save();
Two questions:
- Where does this value get stored in the database?
- Is the customer module the only one that uses this, or are there possible values for other modules like Sales (order attributes.)