Skip to main content
Question

Change view name dynamically

  • September 6, 2021
  • 2 replies
  • 102 views

Forum|alt.badge.img+4
  • Do Gooder (Employee)
  • 6 replies

IEE -App9/App10

Anybody is having idea how to change view name dynamically in tbw or tbl window.

This topic has been closed for comments

2 replies

Forum|alt.badge.img+14

Hi @hewelkw ,

 

You can do it using the variable ‘p_sViewName’. But I hope you know how to handle this since it will need to consider other things like security, column, loading, package Etc.

It will be easy if you search for the variable ‘p_sViewName’ in PAYLED module. You will find many examples there, so you can get an idea about how to do it.


durette
Superhero (Customer)
Forum|alt.badge.img+19
  • Superhero (Customer)
  • 525 replies
  • September 7, 2021

You might consider making a union view to achieve this on the database.

 

SELECT * FROM view_one WHERE condition = TRUE
UNION ALL
SELECT * FROM view_two WHERE condition = FALSE

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings