SSRS Action Inserting Hyperlink to Open an Application - sql

I've done enough research to insert Hyperlinks into SSRS Data fields but so far no luck on trying to insert a url protocol to open up a third party application.
I'm doing the steps below to add an action to insert the hyperlink using VS2012.
1.In the Properties dialog box, click Action.
2.Select Go to URL. An additional section appears in the dialog box for this option.
3.In Select URL is where i input my code below: but it doesn't work
="sp-select://./ordertracking/order?id=" &Fields!guid.Value
,it obviously looks for http:// ftp://, https://, and file:// and
nothing else so it doesn't work.
How would I be able to get around this issue? sp-select:// is the protocol I need to use to open up the third party application. I've tried using javascript to get around it but still no luck.
Thanks in advance!

Since SSRS protocol for URL action is limited, you can create another column in the SQL select statment like this and point to it from the URL expression.
'sp-select://./ordertracking/order?id=' + cast(oi.guid as nvarchar (80)) as 'column'
it will then ignore the protocols to be used and still launch the address of the text of this field.

Related

Creating a Connector - Query results refreshing in the same page

When creating a connector, in 'Recording a query', I follow two steps:
1-Accepted the User Agreement;
2-Executed a query.
The result is shown in the same page (without reloading), so import.io does not understand that the query has happened. Any workarounds?
Thanks a lot,
Renato
It sounds like when using the Connector, you are not inputing any text as a query. This is required for the Connector to finish recording.
One workaround you could do is hit the record button first. Then enter the URL of the webpage you wish to grab the data and push enter. Afterwards, click on Accepted the User Agreement. Lastly, Execute the query.

"Action - Go to report" in VS2008 reportviewer not working

I have an SSRS report which drills through to sub reports via actions. The report functions correctly in the VS environment, and correct once deployed to the server and viewed through a browser.
The report however is also viewed inside our in-house app via a Microsoft.Reporting.WinForms.ReportViewer - and while it renders on screen correctly, clicking the element that would normally take me to a sub-report no longer functions.
I have had a look around and there seemed to be an issue around VS2010 SP1 where this stopped working, however I'm currently stuck with VS2008. This seems to be the majority of results I'm getting.
Anyone have any ideas?
Many thanks.
OK have found issue.
The text box in question had three place holders. A reference No, A date and an age. I wanted to trigger the sub report if someone clicked on the reference no. While this worked fine in VS and IE, it failed to work in the Microsoft Report Viewer control.
I have now set the action against the containing text box, rather than against a single placeholder/expression within that box. While this has solved the immediate issue that I have, it would not work if you wanted multiple actions from different placeholders in a single text box.
But for now, I'm all good, and all solved.

Microsoft SQL Server not letting me open .bak

I am taking a class and our instructor gave us a file to download called cs.bak and its supposed to be formatted for the version of SQL we are using. So I downloaded the one for Microsoft SQL Server.
Well I tried to do the restore but when I get to the part that I choose device and locate the file cs.bak it loads and now I am suppose to be able to choose destination. Well after I choose destination I do not have the OK button to go through with the restore.
On these instructions http://www.katieandemil.com/sql-server-2012-restore-database-backup-file
If you count the window screens. I can only get as far as the 6th screen.
I am suppose to do this, "Some questions will ask you to write out query results from a database. In order to answer these questions you will need to have the example database available to you."
Well I can't open it to do this. Any help would appreciated. Thank you.
Check this:
This checkbox might be unchecked - and then the [OK] button remains disabled...
This seems to be a Windows Layout issue. To resolve this, reset the SSMS Window Layout by selecting from the main menu Window -> Reset Windows Layout.

Receiving a form from a php page

I have a scenario that I am stuck with for a day now. There is this PHP website that I am trying to extract some data from. So I go to the website and there is this form that I can fill and when I click "submit" it takes me to another page where it has a table with all the information that I want.
I took that link and tried to parse the HTML but there was no table. And I checked that link from another computer and it was not loading up the table.
So I'm not sure what I should do here in order to get to that table? Do I have to do some sort of http request of some sort? If so How can it be done in vb.net ?
cheers
It sounds like you're having some basic difficulty with this. Depending on your browser try right clicking the 'table' page and 'View Source'. Save the HTML to a local file and open it using Visual Studio, Notepad++, or any other HTML editor.
Whta looks like a table when displayed in the browser may be encoded as a table, a div, or even a list with some clever formatting. Parsing each of those is a diferent task. without seeing the page I think that nobody will be able to help you much further.

open IE without toolbar or address bar from Windows VB Application

Shell ("explorer.exe www.google.com")
is how I'm currently opening my products ad page after successful install. However I think it would look much nicer if I could do it more like Avira does, or even a popup where there are no address bar links etc. Doing this via an inbrowser link is easy enough
<a href="http://page.com"
onClick="javascript:window.open('http://page.com','windows','width=650,height=350,toolbar=no,menubar=no,scrollbars=yes,resizable=yes,location=no,directories=no,status=no'); return false")">Link text</a>
But how would I go about adding this functionality in VB?
If you want it to look professional, you need to use an actual browser component. VB.NET comes with one. If you are using an older version of VB, you'd need to go third party. If you want to stay with a shell open, you would have to individually target the browser command-line and pass arguments to indicate that it should not have toolbars etc.
Speaking as a user, I find castrated popup windows annoying and unproductive.
So my answer is: "don't".