How to suppress Undefined key [message #201405] |
Sat, 04 November 2006 01:57 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
boyet-x
Messages: 23 Registered: August 2006
|
Junior Member |
|
|
Hi guys,
Is there a way to suppress the Undefined key error raised during execution of a forms trigger and let it continue to run as if there is no error?
My app is a barcode reader.
I defined a fix-length field (Autoskip is on) to accept the barcode input.
But when the input string is longer than the max field size, the remaining characters will be raised (I think) as Undefined keys.
This happens in Enter-Query mode.
I am expecting that when string input has reached max, should still continue to go to next item (as expected when autoskip is on. and I dont want to use on-error trigger due to some other constraints on my app).
Should I set message_level or something? but Im afraid that it might affect other errors. Do you have any idea?
Thanks~
|
|
|
|
|
Re: How to suppress Undefined key [message #202078 is a reply to message #201555] |
Wed, 08 November 2006 02:37 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
boyet-x
Messages: 23 Registered: August 2006
|
Junior Member |
|
|
It's ok now.
I used another approach. I have reset the autoskip to off. Then increased max length of the field. Then to get the value of the barcode, I have created a timer such that I could put the process in When-Timer-Expired trigger.
Not sure how performance would be affected though.
|
|
|