Reputation: 115
I have item in oracle apex
P12_MOBILE_NUMBER
on form load I am fetching data using fetch row from and set to different items. Once mobile number set to item P12_MOBILE_NUMBER, I want to pass its item value to oracle function and function returned value set to P12_MOBILE_NUMBER again .
I can call my function like
Select stars(mobile_number)as mobile_number from dual;
Please help me out how can I do that , I am using application express 18.2
Upvotes: 1
Views: 2642
Reputation: 142705
Create a Page Load dynamic action:
that code would be
:P12_MOBILE_NUMBER := stars(:P12_MOBILE_NUMBER);
P12_MOBILE_NUMBER
P12_MOBILE_NUMBER
Run the page; automatic row fetch will fetch row value, and page load dynamic action will modify the mobile number (based on what your function actually does).
Upvotes: 1