Home » Developer & Programmer » Forms » FRM-40010 : cannot read form (Apps R12)
FRM-40010 : cannot read form [message #519795] Wed, 17 August 2011 00:20 Go to next message
chenny
Messages: 10
Registered: May 2010
Location: India
Junior Member
Hi!

created a form which is calling 3 different forms based on the radio button. The main form say 'MAIN.fmb' has the code
" execute_query " in when-radio-changed trigger and the following:

if :BLOCK.RADIOGRPNAME = '1'
then open_form('XX');
else if :BLOCK.RADIOGRPNAME = '2'
then open_form('YY');
else if :BLOCK.RADIOGRPNAME = '3'
then open_form('ZZ');
end if;
end if;
end if;

in the pre-query trigger of the control block where XX,YY,ZZ are the three corresponding forms.

While clicking the radio button, 'm getting the error FRM-40010:cannot read form XX.fmb

the .fmb, .fmx both exist in the location and individually all the forms are working fine but while being called from MAIN is showing this error.

Please suggest the resolution of the same.

Regards,
AD
Re: FRM-40010 : cannot read form [message #519842 is a reply to message #519795] Wed, 17 August 2011 04:00 Go to previous messageGo to next message
Littlefoot
Messages: 19329
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Forms might exist in some directory, but it appears that this directory is not part of the FORMSxx_PATH. As you didn't mention Forms version nor operating system you use, search for FORMS90_PATH, FORMS_PATH and similar in DEFAULT.ENV file, (MS Windows) registry entries, or elsewhere.
Re: FRM-40010 : cannot read form [message #521370 is a reply to message #519842] Mon, 29 August 2011 05:34 Go to previous message
chenny
Messages: 10
Registered: May 2010
Location: India
Junior Member
Sorry for reverting so late..you are right. specifying the fmx path did solve it. As I was doing it in a test instance hence, specifying the 'function' name (fnd_function.execute (FUNCTION_NAME=>'functionname', OPEN_FLAG => 'Y')actually solved the prob and it's independent of the path too.

Thanks. i'm working on EBiz R12 on 10g database.

Regards,
Previous Topic: delete image from image
Next Topic: print invoice
Goto Forum:
  


Current Time: Tue Jul 29 19:19:43 CDT 2014

Total time taken to generate the page: 0.08994 seconds