Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Pass NULL to a stored procedure

516821Mar 9 2007 — edited Mar 12 2007
I have a procedure with 133 parameters. Since OAE can only render 100 fields at most, I've made multiple pages to submit the same stored procedure, with certain subsets of the fields on each page, and the others null.

But I cannot seem to pass NULL values to the stored procedure.

I tried calling it with NULL eg,

package.procedure(:item1,:item2,NULL)

I got an error, so I made a text field on the screen called P102_NULL, and now have:

package.procedure(:item1,:item2,:P102_NULL)

It keeps giving this error: Error ERR-1002 Unable to find item ID for item "" in application "109".

I've tried making the P102_NULL field hidden, display only but submit, normal text field etc.
I tried using V('P102_NULL') instead of :P102_NULL but it doesn't seem to matter.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 9 2007
Added on Mar 9 2007
19 comments
4,732 views