如何在 oracle 表单中填充之前保存的值

发布于 2025-01-20 21:38:51 字数 316 浏览 5 评论 0原文

输入图片此处描述

在上面的图片代理字段中,有一个包含一些值的下拉菜单,如果我选择一个值并保存表单并关闭它。现在,如果我打开表单,之前选择的值应该出现在第二行(字段)中,如果我再次在下拉列表中选择新值并保存它,则第一个值应该移动到第二个,第二行的上一个值应该移动到第三。表中的每个字段有三列 c1、c2、c3。 以上是我的要求。为了实现这一目标,我应该如何进行。

enter image description here

In the above pic agency field is a drop down with some values, if I select one value and save the form and close it. now if i open the form the value selected previously should appear in the second row(field) and if again if i select new value in drop down and save it, the value in first should move to second and and previous value from second row should move to third. there are three columns c1, c2, c3 for each field in table.
the above is my reqirement. To achieve this how should i proceed.

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

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

发布评论

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

评论(1

弄潮 2025-01-27 21:38:51

这类似于您的以前的问题。就像那时,我仍然认为您想做的是错误的。这不是形式本地工作的方式。

如果您想这样做,则意味着这三个字段的是数据库字段。此外,这意味着您不能使用数据操纵的内置功能 - 您必须编写自己的代码来插入 /更新 /选择值。

  • 你能做到吗?当然,通过编写自己的触发器。
  • 你应该这样做吗?我相信不是。

That's similar to one of your previous questions. Just like then, I still think that what you want to do is wrong. That's not how Forms natively work.

If you want to do that, it means that none of those 3 fields is a database field. Moreover, it means that you can't use built-in capabilities of data manipulation - you'll have to write your own code to insert / update / select values.

  • Can you do it? Sure, by writing your own triggers.
  • Should you do it? I believe not.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文