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
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.
what sort of sql (or pl/sql) used both display data other table, , return selected foreign key selected user when form sent?
solution
- open item, , change type select list
- 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
Post a Comment