Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Forms 3 and restricted rowids in a cursor

Status
Not open for further replies.

thrybergh

MIS
Feb 10, 2003
52
0
0
GB
Hi

We recently migrated our 7.3.4 database to version 9.2 but we have several Forms 3 apps running which reference ROWID.

Because of the different ROWID format from 7 to 8, we had errors with the PL/SQL in the triggers (V2), e.g.

Code:
WHERE A.ROWID = :BLK003.ROWID


I have used calls along the lines of:
Code:
DBMS_ROWID.ROWID_TO_RESTRICTED(A.ROWID,0)  = :BLK003.ROWID
and in most cases this has avoided the problem.

However, where the PL/SQL in the .INP files uses a cursor, the Forms 3 compiler returns errors stating:

Code:
PL/SQL error 302 at line 24, column 18:
   component 'ROWID_TO_RESTRICTED' must be declared


Is there anything I can do to make the ROWID_TO_RESTRICTED call work within a cursor?


Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top