Sign Up

Hey, Dev!
Are you looking for a forum full of active developers to help you?
So if you want to:
โžก๏ธ Get answers for your development issues
โžก๏ธ Help others
โžก๏ธ Write an article
โžก๏ธ Get rewarded for your active participation
Then this place is just for you and it is 100% FREE.

Have an account? Sign In


Have an account? Sign In Now

Sign In

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

Sorry, you do not have a permission to ask a question, You must login to ask question.

Forgot Password?

Need An Account, Sign Up Here
Sign InSign Up

OrclQA.Com

OrclQA.Com Logo OrclQA.Com Logo
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Blog
  • New Questions
  • Tutorials
    • Oracle
    • Oracle Apex
    • Python
  • Tags
  • Users
  • Badges & Points
  • About
Home/DAVIE/Followers Answers
  • About
  • Questions
  • Answers
  • Best Answers
  • Posts
  • Comments
  • Followers Questions
  • Followers Answers
  • Followers Posts
  • Followers Comments
  1. Asked: April 23, 2021

    how to clear username password cache

    Vinish

    Vinish

    • 1 Question
    • 547 Answers
    • 53 Best Answers
    • 3k Points
    View Profile
    Vinish Enlightened
    Added an answer on April 23, 2021 at 3:53 pm

    You need to control it from your browser.

    You need to control it from your browser.

    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
  2. Asked: April 22, 2021

    Set Foreign Key depending on PopUp-LoV Selection

    Vinish

    Vinish

    • 1 Question
    • 547 Answers
    • 53 Best Answers
    • 3k Points
    View Profile
    Vinish Enlightened
    Added an answer on April 23, 2021 at 3:26 pm

    I think your function should be as below: create or replace function search_id (p_key_value in number) return number is found_person number; begin select m.ID into found_person from MANAGER m where p_key_value=m.ID ; if sql%rowcount = 1 then return found_person; end if ; exception when no_data_foundRead more

    I think your function should be as below:

    create or replace function search_id (p_key_value in number)
    return number
    is
    found_person number;
    begin
    
    select m.ID into found_person from MANAGER m 
    where p_key_value=m.ID ;
    if sql%rowcount = 1 then
    return found_person;
    end if ;
    exception
    when no_data_found then
    -- change the field names accordingly
    select s.ID into found_person from staff s 
    where p_key_value=s.ID ;
       return found_person;
    end;

    Apex code:

    declare
    found_person number;
    begin
    found_person:= search_id(V('P75_RESPONSIBLE'));
    apex_util.set_session_state('P75_MANAGER_ID', found_person);
    end;

    Add P75_RESPONSIBLE to submit items.

    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
  3. Asked: April 22, 2021

    Set Foreign Key depending on PopUp-LoV Selection

    Vinish

    Vinish

    • 1 Question
    • 547 Answers
    • 53 Best Answers
    • 3k Points
    View Profile
    Vinish Enlightened
    Added an answer on April 23, 2021 at 12:33 pm

    The last one sounds good. Start implementing; it should be fine.

    The last one sounds good. Start implementing; it should be fine.

    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
  4. Asked: April 22, 2021

    Temporarily store and retrieve data

    Vinish

    Vinish

    • 1 Question
    • 547 Answers
    • 53 Best Answers
    • 3k Points
    View Profile
    Best Answer
    Vinish Enlightened
    Added an answer on April 22, 2021 at 4:21 pm

    I think you can store the data temporarily in the tables, and if there is no consent or the user presses the cancel button, you can silently delete using the dynamic action to execute server-side code.

    I think you can store the data temporarily in the tables, and if there is no consent or the user presses the cancel button, you can silently delete using the dynamic action to execute server-side code.

    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
  5. Asked: April 21, 2021

    Error during Remote deployment

    Vinish

    Vinish

    • 1 Question
    • 547 Answers
    • 53 Best Answers
    • 3k Points
    View Profile
    Vinish Enlightened
    Added an answer on April 21, 2021 at 4:33 pm

    For the first deployment, you will have to accept any auto-generated application number. Then you can maintain it further by overwriting the app with the same number.

    For the first deployment, you will have to accept any auto-generated application number. Then you can maintain it further by overwriting the app with the same number.

    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
  6. Asked: April 20, 2021

    Create trigger that updates table depending on column value of other table

    Vinish

    Vinish

    • 1 Question
    • 547 Answers
    • 53 Best Answers
    • 3k Points
    View Profile
    Best Answer
    Vinish Enlightened
    Added an answer on April 21, 2021 at 2:09 pm

    The trigger is the absolutely right approach for this. And your code also seems correct but need a little change in update statement as below: update TABLE2 set PAGE=16 AND STEP1='TEXT123' where TBLID1 = :new.TBL1ID;  

    The trigger is the absolutely right approach for this. And your code also seems correct but need a little change in update statement as below:

    update TABLE2
    set PAGE=16 AND STEP1='TEXT123'
    where TBLID1 = :new.TBL1ID;

     

    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
  7. Asked: April 20, 2021

    Issue in interactive grid while creating dynamic action in Oracle APEX

    Vinish

    Vinish

    • 1 Question
    • 547 Answers
    • 53 Best Answers
    • 3k Points
    View Profile
    Vinish Enlightened
    Added an answer on April 20, 2021 at 10:14 am

    If your interactive grid source is SQL query then fine else change it to SQL query and modify the query as below: Select a, b, case when a != b then 'red' else 'black' end acolor from yourTable The above SQL query will add one more column acolor, set this column as a hidden column. Then set the follRead more

    If your interactive grid source is SQL query then fine else change it to SQL query and modify the query as below:

    Select a, b, case when a != b then
                     'red'
                 else
                     'black'
                 end acolor
       from yourTable

    The above SQL query will add one more column acolor, set this column as a hidden column.

    Then set the following HTML expression property for column A:

    <span style="color: &ACOLOR.">&A.</span>

    Now on the IG load, it will take the effect.

    You can keep your dynamic action as is.

    See less
    • 1
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
  8. Asked: April 16, 2021

    Insert different entries in table depending on action of user

    Vinish

    Vinish

    • 1 Question
    • 547 Answers
    • 53 Best Answers
    • 3k Points
    View Profile
    Vinish Enlightened
    Replied to answer on April 18, 2021 at 4:29 pm

    Are you doing double click on the Submit button? You should click once. Try creating submit button as shown in the following tutorial: https://www.foxinfotech.in/2020/08/oracle-apex-dynamic-action-submit-page-example.html

    Are you doing double click on the Submit button? You should click once.

    Try creating submit button as shown in the following tutorial:

    https://www.foxinfotech.in/2020/08/oracle-apex-dynamic-action-submit-page-example.html

    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
  9. Asked: April 16, 2021

    Create trigger to insert column depending on value of other column from the same table

    Vinish

    Vinish

    • 1 Question
    • 547 Answers
    • 53 Best Answers
    • 3k Points
    View Profile
    Vinish Enlightened
    Replied to answer on April 18, 2021 at 11:39 am

    Replace the keyword ELSEIF with ELSIF. In PL/SQL it is written as ELSIF.

    Replace the keyword ELSEIF with ELSIF. In PL/SQL it is written as ELSIF.

    See less
    • 1
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
  10. Asked: April 16, 2021

    Insert different entries in table depending on action of user

    Vinish

    Vinish

    • 1 Question
    • 547 Answers
    • 53 Best Answers
    • 3k Points
    View Profile
    Vinish Enlightened
    Replied to answer on April 18, 2021 at 11:37 am

    You can make the process to run on click of the specific button. You will find the setting in process properties > server-side condition > when button pressed. Also, you can modify the function to run first update and if update fails then insert. Below is an example: Create or Replace FunctionRead more

    You can make the process to run on click of the specific button. You will find the setting in process properties > server-side condition > when button pressed.

    Also, you can modify the function to run first update and if update fails then insert. Below is an example:

    Create or Replace Function insert_acc_den (p_value in varchar2,
       p_key_value in varchar2)
    return boolean
    is
    begin
    update your_table
       set your_column = p_value
    where key_column = p_key_value;
    
    if sql%rowcount = 0 then
      -- update fails
      insert into your_table (your_column) values (p_value);
    end if;
    return true;
    exception
    when others then
    return false;
    end;

     

    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
1 2 3 … 55

Sidebar

Ask Question
Write a Post

Recent Blog Posts

  • Vinish

    Oracle Apex - Display External File in Region

  • Vinish

    Oracle PL/SQL Download BLOB File to Disk

  • Vinish

    Oracle Convert External File to BLOB

  • Vinish

    Oracle Apex Calendar Example

  • Vinish

    Oracle Apex - Open Modal Dialog Page Using JavaScript

Explore

  • Home
  • Blog
  • New Questions
  • Tutorials
    • Oracle
    • Oracle Apex
    • Python
  • Tags
  • Users
  • Badges & Points
  • About

© 2021 OrclQA.Com. All Rights Reserved. Privacy Policy