Conditional EDIT Link optoon in Interactive Report [message #666735] |
Tue, 21 November 2017 21:46  |
 |
rkapex
Messages: 10 Registered: November 2017
|
Junior Member |
|
|
I create Report with Form on Table. On Report Page I would like to show conditional Link(Edit Button(Pencil)) on the basis of salary.
How Can I show Edit Button conditionally. I want to show that row but without Edit Button.
|
|
|
Re: Conditional EDIT Link optoon in Interactive Report [message #666737 is a reply to message #666735] |
Wed, 22 November 2017 05:04   |
 |
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
I don't think that you can do that in a straightforward way, although Interactive Report's link property offers "Condition type". In there, you could - for example - use a function that returns Boolean withwhich would return True if someone's salary is less than 1000 and, therefore, display the link.
However, if you do that, you'll get an error because you can't reference interactive report's columns that way. You can't even use #SALARY# syntax ... actually, as far as I know, you can't use anything (so far - maybe good people from Oracle will change that in some of future releases).
It means that you'll have to create your own solution, using a little bit of programming. As there are quite a few solutions on the Internet (such as the one posted by Tony Andrews, Conditional column linking in APEX ), I'm not going to create a new example. Have a look & follow instructions; you should be able to make it work.
|
|
|
|