How do you comment on a line in a report services function?

None of what I've tried so far has worked ...

+4
source share
3 answers

To comment on the source code located in the code section of the page properties of the Reporting Services.rdl file, simply place the apostrophe in front like this.

'ADD YOUR CODE HERE 

Take a look at the following article about SQL Server Central:

Adding custom code to Reporting Services

You can also use the apostrophe to post comments in an expression with Reporting Services controls. This only works if comments appear after the definition of the expression. For instance:

 = "Test" 'Add Your comments here 
+11
source

What do you mean by “reporting services feature”? MDX request? It will be "//".

Example:

 //Comment 

For report expressions, this is ".".

Example:

 'Comment 
0
source

use one quote to open and close the comment.

'example this will be ignored when the report is ran'

0
source

All Articles