Solved

I Oracle Forms 4.5 TYPE  IS TABLE OF varchar2(500)

Posted on 2008-06-11
3
2,834 Views
Last Modified: 2012-08-14
I have the following code, I am attempting to create an array variablr to hold various data:

DECLARE
 type t is table of number INDEX BY BINARY_INTEGER;

I get the compiler error unexpected symbol "of"
Forms does not like the type declaration for some reason
0
Comment
Question by:geoffbates
3 Comments
 
LVL 74

Expert Comment

by:sdstuber
ID: 21759308
declare your pl/sql table in a package within the database and use it there instead of in your forms pl/sql.
0
 
LVL 35

Accepted Solution

by:
Mark Geerlings earned 125 total points
ID: 21762164
Forms4.5 does not support your PL\SQL syntax.  Forms4.5 is based on the Oracle database version 7, which is now about 15 years old.  Many additions and enhancements have been made to PL\SQL in more recent years that are not supported by Forms4.5.

Your options are either:
1. Use a server-side stored procedure as sdstuber suggested.
2. Use an alternate technique that is supported by Forms4.5.
3. Upgrade to a newer version of Oracle Forms (Forms6 still supports client/server deployment if that is something you want/need)
0
 

Author Closing Comment

by:geoffbates
ID: 31466096
Many thanks
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question