COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: V i n c e n t on 11 May 2011 10:22:23 AM

Title: commentary in data value
Post by: V i n c e n t on 11 May 2011 10:22:23 AM
Hi everybody ?

It's possible to make à private commentary in a new data value ??

' do to this , i need that '

Just for remember how i did something.

In VBA, it's simply '

Thanks for your help
Title: Re: commentary in data value
Post by: blom0344 on 11 May 2011 01:10:50 PM
Why would you want this in a data item? Add a block , add a text object and then use a render variable to hide the comment. You can add blocks literally everywhere when you 'unlock' the report
Title: Re: commentary in data value
Post by: cognostechie on 11 May 2011 04:11:33 PM
Yes, it's better to create a seperate Text Item in which you can keep the history too.

That being said, it is technically possible to put a comment in the Data Item too. I tried the method I
use in Framework Manager and it works.

Use #/*  and then type any comment and end it with */#

Here is a live example. When I open the data item, it looks like this:

[Presentation Layer].[Customer].[Customer Division]

#/*   Hi   */#

When I run the report, it displays the Customer Division values and does not give any error
Title: Re: commentary in data value
Post by: V i n c e n t on 24 Jun 2011 09:44:52 AM
thank you cognostechie