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.


    Requires Free Membership to View

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

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

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: