简体   繁体   English

Oracle Apex - 可选的值列表(LOV)

[英]Oracle Apex - Optional List of Values (LOV)

Is there a way in Oracle APEX to use a list of values or select list but do not force the user to select an item and allow them to enter different items? Oracle APEX中是否有一种方法可以使用值列表或选择列表但不强制用户选择项目并允许它们输入不同的项目?

The basic functionality which I require is similar to a combo box where you can optionally select an item from the list or enter a completely new. 我需要的基本功能类似于组合框,您可以选择从列表中选择一个项目或输入一个全新的项目。

Thanks Mark 谢谢马克

Yes: 是:

  1. you could use a Popup LOV item type, where the user can type anything they want, and the LOV is only used to give them suggestions if they click the LOV button. 您可以使用Popup LOV项目类型,用户可以在其中键入他们想要的任何内容,而LOV仅用于在他们单击LOV按钮时为他们提供建议。

  2. you could use a Select List, and set Display Null = Yes; 您可以使用选择列表,并设置显示空= =; but then the user cannot enter their own values. 但随后用户无法输入自己的值。

  1. You could use a Popup LOV and UNION it with the values already entered into the target table. 您可以使用Popup LOV和UNION它与已输入目标表的值。 It would be slower and ordering would be more constrained. 它会更慢,订购会更受限制。

  2. For large tables you could have a process that compared the distinct set of values in the target table with those in the lookup table and entered new ones into the lookups table. 对于大型表,您可以使用一个进程将目标表中的不同值集与查找表中的值进行比较,并在查找表中输入新值。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM