Q:

Creating a LOV of Database entries in APEX

I need to make a form in APEX where you can link Contact entries from a database address table. Now I want the possibility in the form to select the contact linked from and select the contact linked to. 
I don't know if that's even possible to make a ListOfValue from Database entries?!
Thanx for your help..

A:

In the Sample Database Application, you can find examples of LOV usage:

Page 7: P7_CUST_STATE, a select list where a Shared Component LOV is used
Page 11: P11_CUSTOMER_ID, a popup lov where an SQL query is used

