Home » Developer & Programmer » Forms » Need to display Frm-40400 Message
Need to display Frm-40400 Message [message #457143] Fri, 21 May 2010 04:57 Go to next message
dhanasurya
Messages: 33
Registered: May 2010
Member
Hi All,
I developed one form.i.e based on a view.Here i am inserting records into one custom table.So i have written code in the KEY-COMMIT trigger for inserting records into the custom table.
I have written following code in the KEY-COMMIT trigger:

----------------------------------------------
insert into xxmz_custom_tbl
(adjustment_id ,
header_id ,
line_id ,
trip_code ,
completion_date ,
inventory_item_id ,
organization_id ,
qty_estimated ,
qty_actual ,
truck_number ,)
values(LV_ADJ_ID,:xxmz_summary.sales_order_id,
:xxmz_detail.line_id,
:xxmz_summary.trip_code ,
:xxmz_summary.schedule_date ,
:xxmz_detail.inventory_item_id ,
:xxmz_summary.organization_id ,
:xxmz_detail.qty_estimated ,
:xxmz_detail.qty_actual ,
:xxmz_summary.truck_code );

STANDARD.COMMIT;

-------------------------------------------------
When i click on save it is saving records.But it does't showing
the message (frm-40400: one records applied and Saved) once the record is saved.

How can i display message(frm-40400)?





Re: Need to display Frm-40400 Message [message #457144 is a reply to message #457143] Fri, 21 May 2010 04:59 Go to previous messageGo to next message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
With MESSAGE built-in?
Re: Need to display Frm-40400 Message [message #457149 is a reply to message #457144] Fri, 21 May 2010 05:23 Go to previous messageGo to next message
dhanasurya
Messages: 33
Registered: May 2010
Member
I think using Message built-in we can display the custom messages.
But frm-40400 is a standard message and it will display the record count also.

Can't we display the standard message without giving the custom message?
Re: Need to display Frm-40400 Message [message #457160 is a reply to message #457149] Fri, 21 May 2010 06:47 Go to previous message
cookiemonster
Messages: 13938
Registered: September 2008
Location: Rainy Manchester
Senior Member
You can't do it without message.
frm-40400 applies to forms default processing which you have overridden.
If you use custom insert code you have to have custom messages to go with it (or no message at all).
Previous Topic: Finding out port number of oracle forms and oracle id for compilation
Next Topic: Oracle Developer Suite
Goto Forum:
  


Current Time: Fri Sep 20 05:30:39 CDT 2024