Forum Stats

  • 3,839,011 Users
  • 2,262,438 Discussions
  • 7,900,835 Comments

Discussions

In Apex 18.1 htp.p is doubled?

user9159846
user9159846 Member Posts: 41
edited Aug 21, 2018 5:43AM in APEX Discussions

Given: Oracle Apex v.18.1.

Function: my.test return varchar2 is begin htp.p(“Print once!”); return null; end;

Type Region: simple report/interactive report with a query: SELECT my.test FROM DUAL;

The region is drawn like this: Print once! Print once!

The error repeats with all reports that have a call:  htp.p

A question: why at me in Apex 18.1 htp.p is doubled?

Thanks in advance for any advice / help.

Tagged:

Answers

  • fac586
    fac586 Senior Technical Architect Member Posts: 21,101 Red Diamond
    edited Aug 21, 2018 5:43AM
    user9159846 wrote:

    Update your forum profile with a recognisable username instead of "user9159846": Video tutorial how to change nickname available

    Given: Oracle Apex v.18.1.Function: my.test return varchar2 is begin htp.p(“Print once!”); return null; end;Type Region: simple report/interactive report with a query: SELECT my.test FROM DUAL;The region is drawn like this: Print once! Print once!The error repeats with all reports that have a call: htp.pA question: why at me in Apex 18.1 htp.p is doubled?

    Cannot reproduce. Please demonstrate the problem with a live example on apex.oracle.com.

    A question: Why would you use htp.p in a report? That is not how reports generate HTML.

This discussion has been closed.