Solved

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

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

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 34

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

706 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now