Hi!.
I want to change the SelectionFormula of a report, but I couldn't do it!!!.
I've tried in two ways:
With reportViewer
.ReportSource = reportSource
.EnterpriseLogon = iStore.EnterpriseSession
.IsDisplayGroupTree=false
.IsOwnPage=true
.SelectionFormula="{Table.Id}=5"
.ProcessHttpRequest Request, Response,Session
End With
and:
Set result = iStore.Query("Select * from CI_INFOOBJECTS Where SI_ID=" & rptID)
set reportObject=result.item(1)
Set reportInterface = reportObject.PluginInterface(""
reportInterface.RecordFormula="{Table.Id}=5"
iStore.commit result
But I get the same result.....nothing has change
What's what I'm doing wrong??????
thanks!!
I want to change the SelectionFormula of a report, but I couldn't do it!!!.
I've tried in two ways:
With reportViewer
.ReportSource = reportSource
.EnterpriseLogon = iStore.EnterpriseSession
.IsDisplayGroupTree=false
.IsOwnPage=true
.SelectionFormula="{Table.Id}=5"
.ProcessHttpRequest Request, Response,Session
End With
and:
Set result = iStore.Query("Select * from CI_INFOOBJECTS Where SI_ID=" & rptID)
set reportObject=result.item(1)
Set reportInterface = reportObject.PluginInterface(""
reportInterface.RecordFormula="{Table.Id}=5"
iStore.commit result
But I get the same result.....nothing has change
What's what I'm doing wrong??????
thanks!!