Enable / Disable link based on row value [message #344727] |
Mon, 01 September 2008 02:09 |
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 #344852 is a reply to message #344727] |
Mon, 01 September 2008 07:21 |
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 #345907 is a reply to message #344876] |
Fri, 05 September 2008 04:22 |
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 . . .
|
|
|