Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get instance parameter info

Status
Not open for further replies.

JulsY

Programmer
Jan 22, 2002
24
0
0
US
Hello,
I am using 8.5 - csp pages. I'm developing a page and need to read out scheduling and param information for an instance. The following code works if I query for a report, but if I query for an instance record instead I get an error saying that "Object doesn't support this property or method: 'ReportParameters'". By Object it means the rptPlugin below.

Please, anyone know how to do this?

Thanks so much.

Set iStore = es.Service("","InfoStore")
Set objects = iStore.query("SELECT top 1 * FROM CI_INFOOBJECTS WHERE SI_NAME = 'Companies Merged' and si_instance = 1")

Set rptPlugin = infoObject.PluginInterface("")
Set rptParams = rptPlugin.ReportParameters
For each rptParam in rptParams
response.write rptParam.ParameterName
Set Values = rptParam.CurrentValues
For Each Value in Values
RESPONSE.WRITE Value.value
Next
Next
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top