Home » RDBMS Server » Server Administration » FRM-40504 oralce error message
FRM-40504 oralce error message [message #64349] Sun, 16 January 2005 03:18 Go to next message
Arpit
Messages: 99
Registered: March 2001
Member
Hi,

I'm getting the error message "FRM-40504: ORACLE error -- unable to execute a POST-CHANGE trigger" when tyring to enter or update a record via my FORMS3.0 application.

On display error I get:
Trigger statement in error: |
select param_value from appln_params where param_value = :1 and ( param_code = 'STAT_HOLID' or param_code = 'VAC_TAKEN' or param_code = 'SICK_LEAVE' or param_code = 'COMP_LEAVE' or param_code = 'MATERN_LV' or param_code = 'DISABILITY' or param_code = 'OT_TAKEN') Error: ORA-01722: invalid number
=======================================
I've tried to run the select statement to see if there are any null or expected then large value for parma_value in the appln_parmas table but there isn't any.

Can you please shed some light on this issue?

Thanks very much!
Re: FRM-40504 oralce error message [message #64350 is a reply to message #64349] Sun, 16 January 2005 03:39 Go to previous messageGo to next message
Frank
Messages: 7901
Registered: March 2000
Senior Member
My guess would be that the database-column param_value is of a character datatype and the forms-field is of a number-type.
If your query is coded in the post-change trigger, change it to 'param_value = to_char(:1)', else either change the datatype of the forms-field, or create a view containing only the parameters that have number-values and base your block on that.
(forms 3.0 and still detecting new bugs. wow.)

hth
Re: FRM-40504 oralce error message [message #64351 is a reply to message #64350] Sun, 16 January 2005 06:56 Go to previous message
Arpit
Messages: 99
Registered: March 2001
Member
Thanks Frank!

It worked.

Thanks very much for your help!
Previous Topic: rollback segment doubt
Next Topic: Database Link
Goto Forum:
  


Current Time: Thu Sep 19 14:46:20 CDT 2024