COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: UseCog on 26 Jun 2009 08:47:14 AM

Title: [Solved] Converting a string type to MUN
Post by: UseCog on 26 Jun 2009 08:47:14 AM
Hi,

I am trying to default the current week in a list prompt. I have written a macro to generate the correct structure of MUN of the current week, but it is returning the correct macro as string.

Is there any way to convert(cast) the string to MUN type.

[source: cognos power cube, C84]

Any thoughts appreciated.
--------------------------------------------------------------------------------------------------------------I have dropped this way of implementing the the default week in list prompt and i have succeeded using java script.
--------------------------------------------------------------------------------------------------------------Regards,