当我尝试输入十进制数字(例如0.5内场)时,它立即更改为.5在Oracle表单中

发布于 2025-01-30 00:39:09 字数 225 浏览 3 评论 0原文

如果我在0.5之前输入值,则在0.5之前。当我搬到其他字段时,正在删除并显示为.5。是否需要进行任何设置,请帮助

enter image description here

If I enter values as 0.5 the zero before . is getting removed and displayed as .5 this is happening when i move to other field. is there any settings need to be done plz help

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

染火枫林 2025-02-06 00:39:09

打开物品的属性调色板并设置格式蒙版以达到所需的值。例如:

“在此处输入图像描述”

Open item's Property Palette and set Format mask to desired value. For example:

enter image description here

慈悲佛祖 2025-02-06 00:39:09

如果您不希望.0以.0结束时,我怀疑您应该能够根据该值以编程方式更改项目的格式掩码。我没有测试这样的事情,但我相信它会起作用。根据您的设计方式和流量时的方式,尴尬的部分可能会决定要使用哪些触发器来设置掩码,然后重置面罩。

set_item_property('text_item1',format_mask,<所需的蒙版>)

如果该项目是多记录块的一部分,则上述内容将无效。

If you don't want the .0 when the value ends with .0, I suspect you should be able to change the item's format mask programmatically based on the value. I haven't tested doing something like this but I believe it would work. Depending on how you designed your and and the flow as you go through it, the awkward part may be deciding which triggers to use to set the mask then reset the mask.

SET_ITEM_PROPERTY ('TEXT_ITEM1', FORMAT_MASK, < desired mask >)

The above would not work if the item is part of a multi-record block.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文