Hi Formspider team.

In my application, I have a procedure that execute a setValue to show an initial value of a listbox. Here is the line:

api_component.setValue('PresentationKPIStatusQuantity.competencia',first_date);

where first_date is:

first_date := trunc(SYSDATE-2,'MM');

when it runs, I receive the message ORA-01422.

In this field, I have a combobox with a list of Month and Year, here is the query:

select tochar(add_months(trunc(sysdate,'MM'),-12+level),'Mon/yyyy') as competence , todate(trunc(add_months(trunc(sysdate,'MM'),-12+level))) as id from dual connect by level <= 12 order by id desc

what is going on?

Thanks Ricardo

asked 02 Dec '13, 08:07

Ricardo's gravatar image

Ricardo
11119
accept rate: 0%


Hi,

I think this problem is related to use of api_component in a pipelined function that I use in my application. When I changed this function, I removed this call and no more errors happened.

Ricardo

link

answered 03 Dec '13, 17:39

Ricardo's gravatar image

Ricardo
11119
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×3

Asked: 02 Dec '13, 08:07

Seen: 1,239 times

Last updated: 03 Dec '13, 17:39


© Copyright Gerger 2017