Solved

ORACLE

Posted on 2001-06-28
11
3,923 Views
Last Modified: 2007-11-27
Good Day,

I have two forms, called form1 and form2.
Form1 contains a button, which has a trigger (when-button-pressed), this trigger contains the following code: OPEN_FORM('form2');

When I run form1 and click the button the following error appears: FRM-400010: Cannot read from Form2.

Both of these forms are on the same directory in the same folder. I have checked that the form name is correct.

Help,
Mary.
0
Comment
Question by:maryeb
  • 3
  • 2
  • 2
  • +4
11 Comments
 

Author Comment

by:maryeb
Comment Utility
I have two forms, called form1 and form2.
Form1 contains a button, which has a trigger (when-button-pressed), this trigger contains the following
code: OPEN_FORM('form2');

When I run form1 and click the button the following error appears: FRM-400010: Cannot read from Form2.

Both of these forms are on the same directory in the same folder. I have checked that the form name
is correct
0
 
LVL 1

Expert Comment

by:bkm
Comment Utility
Do you have a compiled copy of the form in that directory? And this directory should be in the path, unless you are mentioning the complete path to open the form.

*********From Forms Help *********

FRM-40010:  Cannot read form %s.

Cause:     One of the following:

1. You entered a nonexistent form name.

2. You typed an incomplete path.

3. You do not have the proper privileges to run the form.

4. You do not have a compiled copy of the form.

Action:     Retype the form name correctly, provide the proper path name, compile the form, or contact the DBA.
**************************
0
 

Author Comment

by:maryeb
Comment Utility
Will the compiled copy have the extension .fmx if so I can see the form1.fmx and form2.fmx in the same directory and same folder as form1.fmb and form2.fmb

What do you mean this directory should be in the path. What path?

Mary.
0
 
LVL 2

Expert Comment

by:renuraj
Comment Utility
directory should have been specified in windows registry in
HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE
FORMS60_PATH (if you are using Forms6.0).

Regards,
0
 
LVL 1

Expert Comment

by:bkm
Comment Utility
Yep..

FORMS60_PATH in the resitry
0
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.

 
LVL 6

Accepted Solution

by:
M-Ali earned 2 total points
Comment Utility
Strange!

Try this out:
Specify the entire path in Open_Form, for example:

OPEN_FORM('C:\MyFiles\Form2.fmx');

If this works, your path setting is not correct.


Ali
0
 

Author Comment

by:maryeb
Comment Utility
I tried

OPEN_FORM('C:\MyFiles\Form2.fmx')

and it works.
0
 
LVL 22

Expert Comment

by:Helena Marková
Comment Utility
Hi maryeb,

you've got good answers. What's the problem ?
0
 
LVL 6

Expert Comment

by:Mindphaser
Comment Utility
Please update and finalize this old, open question. Please:

1) Award points ... if you need Moderator assistance to split points, comment here with details please or advise us in Community Support with a zero point question and this question link.
2) Ask us to delete it if it has no value to you or others
3) Ask for a refund so that we can move it to our PAQ at zero points if it did not help you but may help others.

EXPERT INPUT WITH CLOSING RECOMMENDATIONS IS APPRECIATED IF ASKER DOES NOT RESPOND.

Thanks,

** Mindphaser - Community Support Moderator **

P.S.  Click your Member Profile, choose View Question History to go through all your open and locked questions to update them.
0
 
LVL 49

Expert Comment

by:DanRollins
Comment Utility
Recommended disposition:
    Accept M-Ali's comment(s) as an answer.

DanRollins -- EE database cleanup volunteer
0
 
LVL 6

Expert Comment

by:Mindphaser
Comment Utility
Force accepted

** Mindphaser - Community Support Moderator **
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

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 videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
This video shows how to recover a database from a user managed backup

771 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

10 Experts available now in Live!

Get 1:1 Help Now