Oracle Apex文本框应在为空时显示连字符。

huangapple go评论53阅读模式
英文:

Oracle Apex Text box should show hyphen when null

问题

我有一个页面项,它是一个文本框,其数据源是数据库列。

页面项:P1_EMP_NAME

数据库列:EMP_NAME

如果它为空,在Apex中,我希望显示破折号,但目前它显示为空。

如何实现这个目标?

英文:

I have a page item which is a text box and it has source as database cokumn.

Page item: P1_EMP_NAME

Database_Column : EMP_NAME

If it is null, in apex i want hyhen to display but currently it is coming as blank.

How can this be achieved?

答案1

得分: 1

"Value Placeholder" 属性可用于此目的。
Oracle Apex文本框应在为空时显示连字符。

英文:

The attribute "Value Placeholder" can be used for this.
Oracle Apex文本框应在为空时显示连字符。

答案2

得分: 1

请在默认值处提及为“-”。如果值在数据库中可用,则会显示实际值,否则始终会显示“-”。

英文:

Please mention default value as "-", If value is available in DB., it will show the actual value, else always it will display "-"

huangapple
  • 本文由 发表于 2023年6月16日 16:03:45
  • 转载请务必保留本文链接:https://go.coder-hub.com/76488141.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定