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!

Javascript syntax

Status
Not open for further replies.

JulsY

Programmer
Jan 22, 2002
24
0
0
US
Hello,

Can anyone tell me the correct javascript syntax fro returning the total number of current values a parameter has set?

Here is my sample that doesn't deem to work:
result = queried report...

ReportObject = Result.Item(1);
ReportInterface = ReportObject.PluginInterface("report");
EachParam = ReportInterface.ReportParameters.Item(1);

//this doesn't work
NumValues = EachParam.Currentvalues.Count;
//neither does this
NumValues = EachParam.Currentvalues.ReportParameterValues.Count;
//and neither does this
NumValues = EachParam.ReportParameterValues.Count;

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top