Home » Developer & Programmer » Forms » FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception
FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception [message #602185] Sun, 01 December 2013 00:48 Go to next message
mohammed ibrahem
Messages: 2
Registered: December 2013
Junior Member
when click button save

insert into details_master 
	(id,matrials_id)
	values
	(:id,:ESTBIAN_DATA.MATRIALS_LIST);


	insert into estbian 
	(id,master_id,details_id,detail_name,grade,time_date)
	values
	(:id,:ESTBIAN_DATA.MATRIALS_LIST,:details_topics.id,:details_topics.detail_name,:details_topics.grade,sysdate);



error message : "FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception
icon5.gif  Re: FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception [message #602192 is a reply to message #602185] Sun, 01 December 2013 03:05 Go to previous messageGo to next message
mohammed ibrahem
Messages: 2
Registered: December 2013
Junior Member
any one have answer in my question plz
Re: FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception [message #602211 is a reply to message #602192] Sun, 01 December 2013 10:08 Go to previous messageGo to next message
Littlefoot
Messages: 21808
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Which unhandled exception is it?
Re: FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception [message #602215 is a reply to message #602211] Sun, 01 December 2013 12:36 Go to previous messageGo to next message
mughals_king
Messages: 392
Registered: January 2012
Location: pakistan
Senior Member
Dear you did not define whether it is multi record block or SINGLE RECORD anyway if it is not multirecord block then your code will work like this.create procedure in "Program Unit"

PROCEDURE ibrahem  IS
BEGIN
  insert into details_master 
	(id,matrials_id)
	values
	(:id,:ESTBIAN_DATA.MATRIALS_LIST);

	insert into estbian 
	(id,master_id,details_id,detail_name,grade,time_date)
	values
	(:id,:ESTBIAN_DATA.MATRIALS_LIST,
                        etails_topics.id,
             :details_topics.detail_name,
                   :details_topics.grade,sysdate);
commit
END;


WHEN-BUTTON-PRESSED-->TRIGGER

ibrahem;



if multiple record block then you need LOOP like

LOOP


Take this examle FMB file and Run

create table test2(id varchar2(6),id_date date);

Result....


SQL> select * from test2;

ID     ID_DATE
------ ---------
101    25-APR-12


Regard
Mughal

[Updated on: Sun, 01 December 2013 12:38]

Report message to a moderator

Re: FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception [message #602216 is a reply to message #602215] Sun, 01 December 2013 12:42 Go to previous messageGo to next message
mughals_king
Messages: 392
Registered: January 2012
Location: pakistan
Senior Member
screen shot

Re: FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception [message #602223 is a reply to message #602216] Sun, 01 December 2013 17:32 Go to previous messageGo to next message
cookiemonster
Messages: 13920
Registered: September 2008
Location: Rainy Manchester
Senior Member
@Mughal - Do you know what error the OP is encountering? If so, would you care to share with the rest of us?

@mohammed ibrahem - as LF already said, we need to know the complete error message - you've only supplied part of it.
Re: FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception [message #602272 is a reply to message #602223] Mon, 02 December 2013 12:34 Go to previous messageGo to next message
mughals_king
Messages: 392
Registered: January 2012
Location: pakistan
Senior Member
Why not Dear @cookiemonster



"FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception

application design error the current trigger raised an exception other than

form_trigger_failure but it did not handle the exception

Means rewrite the trigger text to handle the exception.


Regard
Mughal
Re: FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception [message #602280 is a reply to message #602272] Mon, 02 December 2013 13:56 Go to previous messageGo to next message
cookiemonster
Messages: 13920
Registered: September 2008
Location: Rainy Manchester
Senior Member
So you have no idea what the unhandled error was?

In which case why are you suggesting code when you can't possibly know whether or not if fixes the issue?
Re: FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception [message #602288 is a reply to message #602280] Mon, 02 December 2013 14:47 Go to previous messageGo to next message
mughals_king
Messages: 392
Registered: January 2012
Location: pakistan
Senior Member
Dear Dear close your book please WHICH you always keeping in your hand reading the question from the forum & answering live in practical as well along with theory and please better do your job and let me do my job. we are not paying members here. let the forum members decide what is wrong and what is right specially those who are asking the questions on this forum instead of asking question to me post your answer and mention mughal you were wrong here if i would wrong I will 100% accept it and will asked you please suggest the correct answer i never feel shame to learn anything from anyone as i told you in my previous posts thats it.take care


" TRIGGER raised unhandled exception


Clear or not

Regard
Mughal

[Updated on: Mon, 02 December 2013 15:16]

Report message to a moderator

Re: FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception [message #602291 is a reply to message #602272] Mon, 02 December 2013 15:41 Go to previous messageGo to next message
mughals_king
Messages: 392
Registered: January 2012
Location: pakistan
Senior Member
mughals_king wrote on Mon, 02 December 2013 12:34
Why not Dear @cookiemonster



"FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception

application design error the current trigger raised an exception other than

form_trigger_failure but it did not handle the exception

Means rewrite the trigger text to handle the exception.




This is my answer and please post your answer and mention where mughal was wrong not for me only for every forum members i hope without reading my Answer you posted your comments.


Best Regards
Mughal Cool

[Updated on: Mon, 02 December 2013 15:50]

Report message to a moderator

Re: FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception [message #602293 is a reply to message #602291] Mon, 02 December 2013 16:38 Go to previous messageGo to next message
cookiemonster
Messages: 13920
Registered: September 2008
Location: Rainy Manchester
Senior Member
So you either haven't actually read the description of FRM-40735 or you haven't bothered to think about what it means.

It means there was some other error.
That other error could have been:
ORA-00001
ORA-01400
one of the date conversion errors
mutating table
.....
.....
Any one of 1000's of possible error.


And you and I don't know what the underlying error is.
And without knowing that it isn't possible to suggest a solution, since each possible error requires a different solution.

So the only thing you, I and everyone else can do is wait for the OP to answer the question Littlefoot originally asked:
Quote:

Which unhandled exception is it?
Re: FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception [message #602295 is a reply to message #602293] Mon, 02 December 2013 17:12 Go to previous messageGo to next message
mughals_king
Messages: 392
Registered: January 2012
Location: pakistan
Senior Member
Cool Cool @littlefoot is great i always appreciated him he is one of the great man on this forum who has a great knowledge why don't you learn from him i alwayz learning from @littlefoot as far as "FRM-40735" error whatever he posted i answered i knew very well that along with this error there must be ORA-??? but he did not mention ORA- his problem was only data was not inserting into db included date field and i gave him example with successfully result thats it.anyway take care. see are with next topic on this forum but with different question.



Best regard
mughal
Re: FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception [message #602298 is a reply to message #602295] Mon, 02 December 2013 18:29 Go to previous messageGo to next message
cookiemonster
Messages: 13920
Registered: September 2008
Location: Rainy Manchester
Senior Member
So LF asked for the underlying error.
I also asked for the underlying error.
You wrote some code that may or may not work (almost certainly not in fact) because you have no idea what the underlying error is.
And despite this you think I'm the one that needs to learn from Littlefoot?
Re: FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception [message #602338 is a reply to message #602298] Tue, 03 December 2013 04:29 Go to previous message
Littlefoot
Messages: 21808
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
I can't remember whether Cookiemonster learnt anything from me, but I certainly learnt a lot from him.
Previous Topic: Scrollbars and a single clob
Next Topic: serial number column forms level
Goto Forum:
  


Current Time: Fri Apr 26 14:48:29 CDT 2024