Home » Developer & Programmer » Forms » FRM-50016: Legal characters are 0-9 - + E (Forms 6i, )
FRM-50016: Legal characters are 0-9 - + E [message #473155] Thu, 26 August 2010 06:08 Go to next message
dev_777
Messages: 32
Registered: June 2010
Member
I have a form with database block. One of the fields is a numeric field. Users sometimes mistakenly enter a non-numeric value and get error 'FRM-50016: Legal characters are 0-9 - + E .'

I would like a more meaningful message to be displayed ie. 'Only numeric values 0-9 allowed.'

How do I go about this? Tried writing a function that kicks off from the when-validate-item trigger, but the above error message still appears.
Re: FRM-50016: Legal characters are 0-9 - + E [message #473157 is a reply to message #473155] Thu, 26 August 2010 06:55 Go to previous message
cookiemonster
Messages: 13938
Registered: September 2008
Location: Rainy Manchester
Senior Member
Trap error in on-error trigger and display appropriate message in that.
WVI is no use as that level of checking is done before it fires.
That said the standard message is more accurate than your proposed alternative.
Previous Topic: frm-10221: Cannot read file
Next Topic: Connection Problem... in forms 6i
Goto Forum:
  


Current Time: Thu Sep 19 12:54:06 CDT 2024