Home » Developer & Programmer » Forms » When calling a form from another form,got an error FRM-40108: No such form:formname (Oracle forms,10g,windows 2003)
When calling a form from another form,got an error FRM-40108: No such form:formname [message #435833] Fri, 18 December 2009 05:08 Go to next message
katangur.nikethan
Messages: 31
Registered: December 2009
Location: Hyderabad
Member
Hi all,

I have created a login form,validations are successful but it is displaying the message
--> "FRM-40108: No such form:formname"
I also verified the directory path where i have stored .fmb and .fmx in FORMS90_PATH registry.
I gave the following code in the WHEN-BUTTON-PRESSED trigger

DECLARE
	temp number;
BEGIN
	select count(*) into temp from tb_timesheet_user
         where user_id = :tb_timesheet_user.user_id 
           and password = :tb_timesheet_user.password;
  if temp>0 then
  	new_form('ENTRY_FORM');
  else
  	message('Invalid username and password');
  	synchronize;
  end if;
  
END;

Thanks in Advance.

Nikethan K.
[EDITED by DJM: fixed crappy formatting]

[Updated on: Mon, 04 January 2010 23:58] by Moderator

Report message to a moderator

Re: When calling a form from another form,got an error FRM-40108: No such form:formname [message #435884 is a reply to message #435833] Fri, 18 December 2009 09:28 Go to previous messageGo to next message
beginnerHere
Messages: 55
Registered: October 2009
Member
hi,

in new_form specify the full path of the form that you need to open.

hope it helps.
Re: When calling a form from another form,got an error FRM-40108: No such form:formname [message #435923 is a reply to message #435884] Sat, 19 December 2009 01:15 Go to previous messageGo to next message
katangur.nikethan
Messages: 31
Registered: December 2009
Location: Hyderabad
Member
Hi

Thanks for reply & we got it

K.Nikethan
Re: When calling a form from another form,got an error FRM-40108: No such form:formname [message #435990 is a reply to message #435923] Sun, 20 December 2009 22:34 Go to previous messageGo to next message
beginnerHere
Messages: 55
Registered: October 2009
Member
no problem
Re: When calling a form from another form,got an error FRM-40108: No such form:formname [message #437545 is a reply to message #435990] Mon, 04 January 2010 23:59 Go to previous message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Save yourself a world of pain and update the 'FORMS_PATH' entry.

David
Previous Topic: DDE vs Excel. How to access to a cell in the second sheet
Next Topic: Webutil - DIRECTORY_SELECTION_DIALOG - unable to select the root directory
Goto Forum:
  


Current Time: Sat Oct 01 04:10:47 CDT 2016

Total time taken to generate the page: 0.04925 seconds