如何在Oracle表单中获取表格的先前值

发布于 2025-01-20 10:31:57 字数 481 浏览 6 评论 0原文

输入图片这里的描述

  1. 我的第一个任务是向表中添加两个新列,第一列将 M 和 X 字段值存储在单个列中(作为带有管道分隔符的单个单元),并且第二列存储 O 和 Z 字段单列中的值(作为带有管道分隔符的单个单元)。

  2. 第二个任务从下拉列表中选择机构和外部字母评级(如图所示),保存表单后,字段 M 和 X 中的值应移动到 N 和 Y,并且该值应存储在从创建的表列中任务一,现在如果我们保存表单,值应该移动到表单中的 O 和 Z 字段,并且这应该继续。

任何人都可以帮助我如何继续执行此操作,但我不知道如何将列值分成几部分并显示在表单上。

如果您提出任何可以完成相同工作的新方法,那就更好了。

enter image description here

  1. My first task is to add two new columns to a table, first column stores the values of M and X fields values in a single column(as a single unit with a pipe separator) and second column stores O and Z fields values in a single column(as a single unit with a pipe separator).

  2. second task selecting agency and external letter rating(shown in image) from drop down and after saving the form the value from fields M and X should move to N and Y and this values should be stored in table column that are created from task one, Now if we save the form the values should move to O and Z fields in forms and this should continue.

Can any one help me how to proceed with this and I don't know how to separate a column value into pieces and display on form.

Better if you propose any new method that does the same work.

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

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

发布评论

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

评论(1

空‖城人不在 2025-01-27 10:31:57

添加列:

这是一个坏主意。串联值很容易;也将它们存储到一列中。但是,在下一步中 - 您必须将这些值 split 分为两个值(列?行?)才能连接到另一个值并产生结果。你能做到吗?当然。应该吗?不,

该怎么办?如果要存储4个值,请在表中添加4列。

或者,查看是否可以在两个表之间创建主详细关系,因此您实际上将创建一个新的表(带有现有表的外键),并带有两个附加的列:

  • 一个说IS Value value存储与M或Y

有关,看起来还有更多的工作,但是 - 将来应该还清。

布局:

确实看起来像一种表格,它仅支持我先前说的话。您不能“动态”添加行(或者,即使可以的话,这确实是您应该避免的事情,因为您必须添加(实际上, display )分开>(不是共享同一项目名称的行)。

Adding columns:

That's a bad idea. Concatenating values is easy; storing them into a column as well. But, then - in the next step - you have to split those values into two values (columns? rows?) to be joined to another value and produce result. Can you do it? Sure. Should you? No.

What to do? If you want to store 4 values, then add 4 columns to a table.

Alternatively, see if you can create a master-detail relationship between two tables so you'd actually create a new table (with a foreign key to existing table) with two additional columns:

  • one that says is value stored related to M or Y
  • value itself

It looks like more job to do, but - should pay off in the future.

Layout:

That really looks like a tabular form, which only supports what I previously said. You can't "dynamically" add rows (or, even if you could, that's really something you should avoid because you'd have to add (actually, display) separate items (not rows that share the same item name).

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