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

pass a query paremeter to a report?

Status
Not open for further replies.

NoCoolHandle

Programmer
Apr 10, 2003
2,321
US
Hi,

I have a report that I need to be able to pass a parameter to for the primary dataset. (the where clause)

I was hopeing to be able to put it in the query string, but have not been able to get it to work. Any clues appreciated.


TIA

Rob
 
OK.. I must have been an idiot.. I could have sworn I had tired this before and had it fail..

Just incase anyone else is wondering..

the key is to specify the parmeter in the url as so:

[blue]SiteReports[/blue]%2f[green]AnalysisReport[/green]&rs:Command=Render&[red]UserName=david[/red]

where the directory name is "Blue", the Report Name is "Green" and the Parameter and Value are "Red"


HTH


Rob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top