0

I have an interactive report, where the query is combined, so I can't use editable interactive grid. That's why I have to use manual form in my query. I've found some nice tips about the APEX_ITEMs, but I have problem with my process.

In my query there are columns like:

APEX_ITEM.HIDDEN(1,coursestudent.id)
...
APEX_ITEM.SELECT_LIST(2,coursestudent.signed,'Signed;1,Failed;0')

I have a submit button, and here is my process:

FOR i in 1..apex_application.g_f01.count LOOP
    UPDATE coursestudent
    SET signed=apex_application.g_f02(i)
    WHERE id=apex_application.g_f01(i);
END LOOP;

I've thought that it's not too difficult, but after I press Submit nothing happens, except that the Success message is written out the page.

What should I do?

Submit Button

Process

I'm using the Oracle Apex version: 5.1.1.00.08

4

1 回答 1

0

感谢 Jeffrey,我发现了错误:这是一个错误。

我不得不再次复制粘贴 sql 查询,现在它可以工作了。好的,真的,在这种情况下,我总是将 aselect 1 from dual放在它的位置,保存,然后粘贴回查询。

在此之前我遇到过这个错误,有时新列只是没有显示在页面中。由于我在第一次创建查询后放置了隐藏列,因此它没有显示在页面中,因此该过程中的循环从未起作用。

于 2017-05-29T13:34:47.277 回答