What datatype is grant_request_id? The way you want it to update, grant_request_id is numeric as well as alphanumeric (you fetch 1 / 2 but try to put in 'YES' or 'NO'). If it's a number field that won't work.
Main Topics
Browse All TopicsI have a form in Oracle APEX that is using a Named LOV to allow the user to select 'YES' or "NO' for grant requested. These values are being written back to a table that contains 1 for Yes and 2 for No. My variable to hold the selected LOV value is a VARCHAR.
How can I resolve this error?
Thanks in advance for looking at my problem.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: flow01Posted on 2009-02-26 at 09:48:09ID: 23747357
SET grant_requested_id = decode(grant_requested_id,
'YES', 1
'NO', 2,null) null = grant requested ?