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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problems with addParameter method

Status
Not open for further replies.

gflaaten

Programmer
Jan 21, 2002
6
NO
Hi everyone,

I have a problem with a the activex report component.

I use several websource.addParameter "prompt0", "value"
to add values to a reportselection.

The problem is that i get only the last value now.

This have worked perfectly in 2 years without any problems.

Anyone know what it can be?

==========snipp snipp ===============================
Dim webSource0
Set webSource0 = CreateObject("WebReportSource.WebReportSource")
webSource0.ReportSource = webBroker
webSource0.URL = " webSource0.PromptOnRefresh = False
webSource0.AddParameter &quot;prompt0&quot;, &quot;21084&quot; <- This is not working
webSource0.AddParameter &quot;prompt0&quot;, &quot;21090&quot; <- This is not working
webSource0.AddParameter &quot;prompt0&quot;, &quot;21091&quot; <- This is working
webSource0.AddParameter &quot;prompt1&quot;, &quot;200101&quot;
webSource0.AddParameter &quot;prompt2&quot;, &quot;200112&quot;
CRViewer.ReportSource = webSource0
end if
CRViewer.ViewReport
End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top