Solved

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

Posted on 2008-06-11
3
2,833 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

Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database

789 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