Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Updating or inserting records with comma formatted numbers

DougJan 12 2018 — edited Jan 14 2018

Lets say I have a table where the columns are varchar2 and number.  My users want to see number formatting on all numbers and currency formatting on all currency.  So I create a form to show all of the table columns.  If I change the value of one item (varchar2 or number) and attempt to Apply Changes, I will get an error because one or more of the numeric items contains non-numeric value, i.e., commas and $ signs.  In Oracle Forms, this was not a problem because the number formatting was recognized as formatting, but in APEX this distinction is apparently not made. 

How can this be handled?

I have created javascript which either formats or unformats numbers when the mouse cursor enters or leaves the region in which the "Apply Changes" button is located.  But this is a cumbersome process.  Please help.

This post has been answered by askMax - Maxime Tremblay on Jan 12 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 11 2018
Added on Jan 12 2018
2 comments
697 views