Solved

How to pass a SSRS variable to a PHP url.

Posted on 2014-04-03
12
532 Views
Last Modified: 2014-04-21
In SSRS.
I would like use the out site url to the report link.
How can I transfer the value to the url?

"//myserver/report.php?mater=<SSRS_value>".

For instance matter_code is the value in SSRS report. How do we pass the matter_code variable so that the out site PHP report renders the info for that specific matter.

Sql server Report service
Thanks
0
Comment
Question by:Tim
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
12 Comments
 

Author Comment

by:Tim
ID: 39991346
need help. anyone ? Thanks
0
 
LVL 43

Expert Comment

by:Rob
ID: 39995447
Hi,

It looks like it should work.  What's not working for you?

Rob
0
 

Author Comment

by:Tim
ID: 39998974
Thanks for answer.
I try to put  "//myserver/report.php?mater=<matter_code>"
When I click the link, it just give me "//myserver/report.php?mater=<matter_code>"
I try to put  "//myserver/report.php?mater=@matter_code"
When I click the link, it just give me "//myserver/report.php?mater=@matter_code"

I need the SSRS variable( "matter_code" ) can transfer.
Like "//myserver/report.php?mater=5555"

Please help.

Thanks
0
SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

 
LVL 43

Expert Comment

by:Rob
ID: 40000698
try the Fx button to add the variable that way.

I know php and other BI reporting tools but I'm not up on SSRS.  I'll help any way I can though ok?
0
 

Author Comment

by:Tim
ID: 40002292
Putting the variable using the FX option, makes no difference.
I try to put  "//myserver/report.php?mater=Fields!matter_code.Value"
When I click the link, it just give me "//myserver/report.php?mater=Fields!matter_code.Value"


Everything after the = sign is passed as text not as a variable

Please help
0
 
LVL 43

Expert Comment

by:Rob
ID: 40002868
Ah then try putting the variable outside the string

"//myserver/report.php?mater=" & Fields!matter_code.Value
0
 

Author Comment

by:Tim
ID: 40007221
Hi:

it is still same as text , do not pass the variable.

Thanks
0
 
LVL 43

Accepted Solution

by:
Rob earned 500 total points
ID: 40007799
Is there another way to edit the link, like viewing the code behind the report? You may be abbr to remove the quotes that way?
0
 

Author Comment

by:Tim
ID: 40012692
="//myserver/report.php?mater=" & Fields!matter_code.Value

Yea. It works, try to put "=" before the string.
Now works.
Thank you very much.
0
 

Author Closing Comment

by:Tim
ID: 40012696
Thank you very much. It works
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question