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

SSRS and MySQL?

Status
Not open for further replies.

darwin101

Programmer
Mar 7, 2001
156
US
hi all

has anyone succesfully goten RS to work with MySQL? I can get basics to work, but I keep failing when I try to use parameters. the stuff I have found on the web has not been helpful... any suggestions or help would be greatly appreciated.

thanks in advance.
 
MySQL can not handle named parameters, when I use ' ? ' the query works fine. This is when using ODBC.
 
In your query, leave the parameters as '?' marks:

...
AND c.DownloadDate >= ?
AND c.DownloadDate <= ?
AND r.source = ?

You need to leave the parameters 'named' as Parameter1, Parameter2, etc., in the report.

Deploy the report like that -- then, in the Report Manager, for that report, you can set the display text for each parameter (to make it simpler for the user).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top