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!

I am trying to dynamically set the "Format Mask" item property for a field in an Interactive Grid

user6150005Dec 22 2022 — edited Dec 22 2022

I would like to set the "Format Mask" for this field (field name = "JAN") to either Currency or Number (with 4 decimals) depending on the Record Type which is stored as another field in the same table.
I tried adding a new field in the table called "APEX_FORMAT_MASK" and setting that field to the relevant format mask of either FML999G999G999G999G990D00 (for currency) or 999G999G999G999G990D0000 (for Number w/ 4 decimals). I then added added "&APEX_FORMAT_MASK" to the Format Mask item property of the "JAN" field but get this error shown below.
Any help would be greatly appreciated.
thanks
Ben
benjamin.levitt@jamminsoftware.com
"JAN" column's Format Mask set to "&APEX_FORMAT_MASK"...
image.png
ERROR I get When Opening the Page at Runtime...
image.png
Table Definition...
image.png

Comments
Post Details
Added on Dec 22 2022
2 comments
602 views