database design - How to make drop-down menu within Oracle Application Express? -


i appreciate if shed light on this, search engine results have been singularly unhelpful far.

i attempting build gui oracle database through application express. there tend tricks of how set drop down menus through graphical user interface of product 1 uses (for instance know how in product microsoft access).

for instance have form

oracle application express form

the foreign key business (fk_business_id) integer - not terribly user friendly! if drop down list of business names (business.name), great. hiding business primary key (business_id) make nicer, isn't altogether relevant.

i have found source controls element in question.

form controls oracle application express

what sort of sql (or pl/sql) used both display data other table, , return selected foreign key selected user when form sent?

solution

  1. open item, , change type select list
  2. for list of values definition, enter select business.name, fk_business_id [table]

explanation

select list shows display values user , returns corresponding id. source can remain same before.


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -