Home » Developer & Programmer » Forms » Forms 4.5 to 6i (Forms 4.5 to 6i on Windows)
Forms 4.5 to 6i [message #497898] Mon, 07 March 2011 13:48 Go to next message
heyit
Messages: 14
Registered: May 2010
Location: US
Junior Member
I have a Oracle Forms version 4.5 which I'm trying to open in 6i and getting an error:

Error 103: Encountered the symbol "IN" when expecting one of the following at line ... column ...
constant exception <an identifier>
<a double-quoted delimited-identifier> table LONG_double ref
char binary national character nchar

Warning: Encountered a not-recoverable error, conversion aborted at line 0 column 0

Here is the actual code which is seems to be having issue

:
:

PROCEDURE my_calc IS

sys_ver IN OUT varchar2(10);

cursor ver_cur is
:
:

Any pointer would be really appriciated.

Thanks!!
Re: Forms 4.5 to 6i [message #497912 is a reply to message #497898] Mon, 07 March 2011 15:11 Go to previous messageGo to next message
Littlefoot
Messages: 21807
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Syntax should be
procedure my_calc (sys_ver in out varchar2)
  is
cursor ver_cur is ...
Re: Forms 4.5 to 6i [message #498059 is a reply to message #497912] Tue, 08 March 2011 08:53 Go to previous messageGo to next message
heyit
Messages: 14
Registered: May 2010
Location: US
Junior Member
Ths littlefoot ..your suggestion fix this but break somethig else ....

begin
open ..
fatch ..
if (ver_cur%notfound) then
show_err('Incorrect form. Please contact Apps owner');
end if;
close ..
end;


Error: identifier 'SHOW_ERR' must be declared

It may be sepearte issue all togeather. Any suggegtion ....how and where I can declare 'SHOW_ERR' as indeicate in error message? Thanks!
Re: Forms 4.5 to 6i [message #498061 is a reply to message #498059] Tue, 08 March 2011 09:06 Go to previous message
cookiemonster
Messages: 13920
Registered: September 2008
Location: Rainy Manchester
Senior Member
show_err appears to be a procedure. Your old version of the forms should have the code for it somewhere.
Previous Topic: Populate List - Dynamically
Next Topic: Can not display NEW .gif files as icon on buttons
Goto Forum:
  


Current Time: Thu Apr 18 04:11:08 CDT 2024