简体   繁体   English

Oracle APEX交互式报告列超链接和变量

[英]Oracle APEX Interactive Report Column Hyperlinks & Variables

I'm using APEX 5 for the first time and trying to link users to the same page from an interactive report column. 我第一次使用APEX 5,并尝试将用户从交互式报告列链接到同一页面。

The page being linked to will display different data, depending on which row user clicked. 链接到的页面将显示不同的数据,具体取决于用户单击的行。

I don't know what data to depend on to generate the new page, my thoughts are to write (a href) statements but not sure how variables are supposed to be stored this way. 我不知道生成新页面所依赖的数据是什么,我的想法是编写(a href)语句,但是不确定如何以这种方式存储变量。

Any advice or help would be greatly appreciated! 任何建议或帮助将不胜感激!

Wrong approach, in my opinion. 我认为方法错误。

You should have done this: 您应该这样做:

  • create a new page 创建一个新页面
  • choose the "Report" page type 选择“报告”页面类型
  • choose "Report with Form on table" 选择“表格上的报表”

It'll create both Interactive Report and a "linked" Form which will be used for the purpose you described. 它将创建“交互式报告”和“链接的”表单,这些表单将用于您描述的目的。 You don't even have to write a single line of code, Apex will do everything for you. 您甚至不必编写任何代码,Apex就会为您做所有事情。 You'd just click the icon at the beginning of the Interactive Report row, and it'll lead you to the Form and display values related to that very row. 您只需单击“交互式报表”行开始处的图标,它将带您到“表单”并显示与该行相关的值。

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

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