Home » Developer & Programmer » Forms » Oracle Forms 6i - Menu Errors
Oracle Forms 6i - Menu Errors [message #80228] Tue, 27 August 2002 09:15 Go to next message
Eddie
Messages: 23
Registered: January 2001
Junior Member
I have a blank form with a menu that is supposed to call three forms. The menu item code for one of the forms to be called from the menu looks something like:

BEGIN
RUN_PRODUCT(FORMS, 'newvisit', SYNCHRONOUS, RUNTIME,
FILESYSTEM, '', '');
END;

When I click on the given menu item on the blank form, I get this error:

FRM-40010: Cannot read form newvisit.

I see this error for all other forms. The fmb, fmx, mmb and mmx files are all in the same directory and the menu module property in the blank form points to this directory.

I also tried using the PL/SQL below for the menu item code, with similar errors.

BEGIN
CALL_FORM('newvisit',hide,no_replace,no_query_only);
END;

Any idea what might be wrong? Thanks alot!
Re: Oracle Forms 6i - Menu Errors [message #81562 is a reply to message #80228] Mon, 03 March 2003 06:57 Go to previous message
KHALEDUS
Messages: 4
Registered: March 2003
Junior Member
DECLARE
A VARCHAR2(15);
B VARCHAR2(15);
C CHAR(1);

BEGIN
SELECT USERNAME,PASSWORD,STATUS INTO A,B,C FROM USER_MASTER
WHERE USERNAME=:USER_MASTER.USERNAME;
IF A =:USERNAME AND B=:PASSWORD AND C='N' THEN
UPDATE USER_MASTER SET STATUS ='Y' WHERE USERNAME=A;
COMMIT_FORM;
RAISE FORM_TIGGER_FAILURE;

CALL_FORM('GETPATHMAIN_MENU.FMX',NO_HIDE);
CLEAR_RECORD;

ELSE IF
C='Y' THEN
MESSAGE('PLEASE CHECK YOUR USERNAME AND PASSWORD');
END IF;
END IF;

END;

this error is the first time to me plz if anybuddy knows error send me reply on this id khaledus@hotmail.com this is login form or if anybuddy have easy method send to me this error show
FRM-40735 WHEN-BUTTON-PRESSED TRIGGER RAISED UNHANDLED EXCEPTION ORA-01422 WHY ? THIS ERROR SHOWN TO ME B4 THAT ITS WORKING PROPERLY....HELP ME PLEASE
Previous Topic: LOV Cursor Position.
Next Topic: Text-Item Calculations
Goto Forum:
  


Current Time: Wed Jun 26 05:03:45 CDT 2024