Home » Developer & Programmer » Application Express & MOD_PLSQL » Enable / Disable link based on row value (Application Express 3.1)
Enable / Disable link based on row value [message #344727] Mon, 01 September 2008 02:09 Go to next message
benseer
Messages: 22
Registered: October 2005
Location: Bangalore
Junior Member
Hi,

How can I disable a link based on a row value? Im opening new page by passing a value, but if no data is available I want to disable the link..

Regards,
Benseer
Re: Enable / Disable link based on row value [message #344750 is a reply to message #344727] Mon, 01 September 2008 03:15 Go to previous messageGo to next message
dr.s.raghunathan
Messages: 540
Registered: February 2008
Senior Member
hi,

if a link is behind button the conditional display tab can be filled with expression1 = expression2
yours
dr.s.raghunathan
Re: Enable / Disable link based on row value [message #344752 is a reply to message #344750] Mon, 01 September 2008 03:21 Go to previous messageGo to next message
benseer
Messages: 22
Registered: October 2005
Location: Bangalore
Junior Member
Hi Raghunath,

link is part of a column in the report

-Benseer

[Updated on: Mon, 01 September 2008 03:21]

Report message to a moderator

Re: Enable / Disable link based on row value [message #344852 is a reply to message #344727] Mon, 01 September 2008 07:21 Go to previous messageGo to next message
philipwinfield
Messages: 8
Registered: December 2005
Location: UK
Junior Member
The easiest way to do this is refer to the column twice in the report and alias them colname_link and colname_nolink. Obviously, one of these will have the link and the other will not. You then use conditional logic to ensure only one column will ever be shown so that a link is either present or missing for the entire report.

Is this OK or are you wanting links dependent per row rather than "switching" on and off?

Phil
Re: Enable / Disable link based on row value [message #344876 is a reply to message #344852] Mon, 01 September 2008 08:48 Go to previous messageGo to next message
benseer
Messages: 22
Registered: October 2005
Location: Bangalore
Junior Member
Hi Phile,

its sounds fine .. can you suggest one example?

Regards,
Benseer
Re: Enable / Disable link based on row value [message #345907 is a reply to message #344876] Fri, 05 September 2008 04:22 Go to previous message
rajy_salim
Messages: 204
Registered: January 2008
Location: Beirut - Lebanon
Senior Member
Quote:
link is part of a column in the report

What do you mean by that?? Is it several characters in the value or what? Why the column is not entirely a link?? if it can be, so apply the conditional display on it . . .
Previous Topic: report
Next Topic: What is the username and password for apex login??
Goto Forum:
  


Current Time: Tue Sep 23 20:18:44 CDT 2014

Total time taken to generate the page: 0.07683 seconds