Q

Oracle 9i forms question

I have an Oracle 9i forms question. I have a package called "IDEVUSA_DML_PKG." In the package I have a procedure called "RETREIVE_CLIENT_CONTACTS." I have an in out parameter called "CLIENT_CONTACTS_TYPE." The type is declared in the package "CLIENT_CONTACTS_REC." "CLIENT_CONTACTS_TYPE" is a table of "CLIENT_CONTACTS_REC." I tested this on SQL*Plus, and it compiled and executed. I then put it in the package and created a form with a...

data block based on the packaged procedure. In Forms I built a trigger and appended the package name, and it gave me a compilation error. I automatically generated the trigger for the procedure from the data source, and it appends the package name twice:

IDEVUSA_DML_PKG.IDEVUSA_DML_PKG.
CLIENT_CONTACTS_TYPE;

When I remove the appended IDEVUSA_DML_PKG, it compiles. When I run the form, forms adds IDEVUSA_DML_PKG again.


Have you specified the query data source arguments properly in the forms? Please make sure that the arguments match that of the stored procedure.
This was first published in October 2004

Dig deeper on Using Oracle PL-SQL

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close