View Full Version : How do I capture FRM-40505 when executing query?
M Hamilton
03-16-2004, 07:20 AM
Am working in Designer 6i Forms. After entering a Query, then pressing
F8 to execute, I get the FRM-40505: ORACLE error: Unable to perform
query. I have tried coding the Application Logic Events for ON-ERROR
and ON-MESSAGE at the form level and module component level to capture
this. But, have had no luck. Can you help me capture this
error/message/alert so that the user will not see it? Thanks, Maggie
Luc Gyselinck
03-16-2004, 01:18 PM
Why should you hide the error?
Either the user has done something wrong, or the developer did something
wrong.
FRM-40505: ORACLE error: means that the SQL generated by forms is not
correct: columns that are marked as database are not table/view columns, the
order by, the where clause is not correct, etc. etc. Use the 'Show Error' in
the menu to view the SQL behind the query. We, developers, use this
'feature' to view the SQL of the query: force an error, view the error and
you see the SQL...
"M Hamilton" <mhamilton@usgs.gov> wrote in message
news:7ce65461.0403160720.66c8799d@posting.google.com... Am working in Designer 6i Forms. After entering a Query, then pressing F8 to execute, I get the FRM-40505: ORACLE error: Unable to perform query. I have tried coding the Application Logic Events for ON-ERROR and ON-MESSAGE at the form level and module component level to capture this. But, have had no luck. Can you help me capture this error/message/alert so that the user will not see it? Thanks, Maggie
M Hamilton
03-18-2004, 06:37 AM
It turned out, after checking out the SQL the system was generating,
that the validation was going on at 3 different places. Two were
deleted and now it is running great. No more FRM-40505 error.
"Luc Gyselinck" <Luc.Gyselinck@nospampandora.be> wrote in message news:<5bK5c.37630$084.2422822@phobos.telenet-ops.be>... Why should you hide the error? Either the user has done something wrong, or the developer did something wrong. FRM-40505: ORACLE error: means that the SQL generated by forms is not correct: columns that are marked as database are not table/view columns, the order by, the where clause is not correct, etc. etc. Use the 'Show Error' in the menu to view the SQL behind the query. We, developers, use this 'feature' to view the SQL of the query: force an error, view the error and you see the SQL... "M Hamilton" <mhamilton@usgs.gov> wrote in message news:7ce65461.0403160720.66c8799d@posting.google.com... Am working in Designer 6i Forms. After entering a Query, then pressing F8 to execute, I get the FRM-40505: ORACLE error: Unable to perform query. I have tried coding the Application Logic Events for ON-ERROR and ON-MESSAGE at the form level and module component level to capture this. But, have had no luck. Can you help me capture this error/message/alert so that the user will not see it? Thanks, Maggie
MyLounge.com Site Map
Forum:
Cars,
Cell Phone,
Database,
Games,
Home Improvement,
IT,
Music,
School,
Sports,
Web Design,
Web Server,
Weight Loss
The MyLounge.com forum is intended for informational use only and should not
be relied upon and is not a substitute for any advice. The information contained
on MyLounge.com are opinions and suggestions of members and is not a representation
of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for
the accuracy, completeness or usefulness of any postings or the qualifications
of any person responding. Please consult a expert or seek the services of an
attorney in your area for more accuracy on your specific situation. Please note
that our forums also serve as mirrors to Usenet newsgroups. Many posts you see
on our forums are made by newsgroup users who may not be members of MyLounge.com
Term of Service
vBulletin v3.0.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.