can Anyone help me, how to change method dimension date categories with date value ??
I have cognos script below
Set objPPRep = CreateObject("CognosPowerPlay.Report") _
objPPRep.Open( "D:\data\consumer.ppx" )
objPPRep.DimensionLine.Item("Products").Change("Microwave")
objPPRep.SaveAs "D:\Data\Consumer_Alltables.asc",3
Set objPPRep = Nothing
End Sub
then, i add script to change method dimension date categories with date value
objPPRep.DimensionLine.Item("dates").Change("2012/04/30")
or
objPPRep.DimensionLine.Item("dates").Change("Current day")
But this scripts doesn't work, can anyone help ??
I have cognos script below
Set objPPRep = CreateObject("CognosPowerPlay.Report") _
objPPRep.Open( "D:\data\consumer.ppx" )
objPPRep.DimensionLine.Item("Products").Change("Microwave")
objPPRep.SaveAs "D:\Data\Consumer_Alltables.asc",3
Set objPPRep = Nothing
End Sub
then, i add script to change method dimension date categories with date value
objPPRep.DimensionLine.Item("dates").Change("2012/04/30")
or
objPPRep.DimensionLine.Item("dates").Change("Current day")
But this scripts doesn't work, can anyone help ??