I have a report that is slated to contain a URL when the report is generated. This works perfect without a hitch, however, I want the URL to generated only if there is an actual need for it. I'll illustrate the what I need based on the table below:
DescriptionField FileNameField
Description 1 filename1.doc
Description 2 NULL
Description 3 filename2.doc
Description 4 NULL
Based on the data above, I'd like to generate a report that would have a field that allows for clicking on a link if the filenamefield is populated. If the filenamefield is null, a URL should not be generated and therefore the generated PDF should not contain it. For example, if I generate the report above, what I want to look like is below:
Description 1 (URL embedded)
Description 2
Description 3 (URL embedded)
Description 4
I would assume that this can be accomplished from codebehind.
DescriptionField FileNameField
Description 1 filename1.doc
Description 2 NULL
Description 3 filename2.doc
Description 4 NULL
Based on the data above, I'd like to generate a report that would have a field that allows for clicking on a link if the filenamefield is populated. If the filenamefield is null, a URL should not be generated and therefore the generated PDF should not contain it. For example, if I generate the report above, what I want to look like is below:
Description 1 (URL embedded)
Description 2
Description 3 (URL embedded)
Description 4
I would assume that this can be accomplished from codebehind.