Ive had a request from a client to make a popup box appear on the click of a databar within an SSRS report. Not had any luck with various Google Searches and just wanted to know if anybody has either got this work directly or has any suggestions for a workaround they have used?
Bit of background on the actual report itself, it simply contains a table with various stacked DataBars showing comparable data between multiple users in a system. The ability is needed to click a bar and see which User that bar relates to.
Any suggestions are appreciated.
It's not quite the same thing, but you can use the SSRS tooltips functionality to achieve something similar, i.e. a user will hover over a part of a chart and some contextual text information will be displayed.
Show ToolTips on a Series has some further information.
You can add an action to an object with a javascript popup which can show a specific URL or another report. In the action click on Fx to set an expression as follows:
I used a different script to popup a URL which contains an image url from the database:
="javascript:void(window.open('" + Fields!ImageURL.Value + "', null, 'width=800, height=500, status=no, toolbar=no, menubar=no, location=no'))"
( you can replace Fields!Image.Value with a url , this is the URL from a database field)
a
On a PC this will showup properly sized as a popup. On an iPad it will appear as a new tab.
Related
I have created a help index on a tab control with 60 pages. Each page contains helpful information to the question that corresponds to the page. The questions that are being answered are on a different form from the tab control form. I have created a button next to each question so that the user can access the help form if they need background and instructions for completing each question. I am trying to write code that will open the form and go to the correct page based on the button that was clicked. So the button for question one would open the form and go to page 1. I have tried a few different things, and can't get it to recognize the page. Below is the code that I currently have in place:
DoCmd.OpenForm "frmTestingHelp"
Forms!frmTestingHelp.SetFocus
DoCmd.GotoPage (0)
The form opens, but cannot find the page and results in an error. I started without the second line, but added it to see if the issue was that it wasn't looking for the object in the right place.
Thanks in advance!
DoCmd.GotoPage is used only with page breaks, which hardly anybody uses. See e.g. here: http://www.functionx.com/vbaccess/Lesson13.htm and scroll down to "Using the Pages of a Form".
To select the second page of the tab control TabControl on your form:
Forms!frmTestingHelp!TabControl.Pages(1).SetFocus
or preferably, if you don't want to set the focus,
Forms!frmTestingHelp!TabControl.Value = 1
assuming you haven't changed the default PageIndex values 0,1,...
My clients have upwards of 40 reports with very similar parameters. These are hosted on SharePoint, but are consumed by users through a web application, and so when a report is selected and the parameters are shown, the report's title is lost. My clients are irritated that they don't know, from the parameters page, which report is being displayed (many have very similar names and they are selected from a grid, and so mis-clicking is an issue)
Is there some trick to showing the report title on the parameters page?
Thanks
Edward
I will suggest to add an additional parameter and show the report name in that.
Some points to highlight in your question.
First, I don't know any trick for showing the title in the parameter pane, as a matter of fact, I don't believe it does exist. Showing it as a parameter is something that I wouldn't do as a solution for a customer.
Second, not showing the little line with the report's path is something that can be chosen when invoking the report (by means of url, see links below) and if they are accessing through another web application, this should be the one taking care of this matter. Note that if you show the url or the little line with the path, you can compromise security (access will depend on folders setup, but you leave a door open). This web application should know what is it showing and should display the right name (any the actual report's name or a custom name within the web app). This is what happens when you embed SSRS reports using a browser in an external app.
Third, the report itself should have a title displayed once the report is executed.
As a summary, I don't believe this issue's solution is under SSRS management/development scope.
Links to know more about executing SSRS with an URL.
http://msdn.microsoft.com/en-us/library/ms155391.aspx
http://msdn.microsoft.com/en-us/library/ms155391.aspx
As you can see, there are lots of things that you can do playing around with the url, such as:
Pass parameters
Hide path pane
Hide parameters pane
Render format, you can call an url asking for an excel or pdf render and you get the download dialog for the file.
Hope this helps.
I've created a hyperlink control on a form page in an Access 2013 App hosted in SharePoint 2013, and want the text to display the same text ("Print Timesheet") while the actual link itself varies based on the value of a field in the record. This is so that I can link to a separate application using a query string with the individual record ID, which gets the data directly from the azure database and formats it in order to be printed out.
I've tried a macro expression to create the link address that runs "on current" and sets the value of the hyperlink, and also tried a computed column in the table to create the link which I pass to the hyperlink control value. I've set the "Default Display Text" on the hyperlink control to "Print Timesheet" in both cases.
The problem I have is that whichever way I try it, changing the value on the fly like this overrides the default display text of the hyperlink so that it displays the address itself rather than the text I want to display.
Is there any way round this?
Thanks,
Duncan
I am not sure if you got your answers. I was randomly looking on internet and found your query.
I thought the thread Troubles with Hyperlink control in Access Web App forms may have your answer.
LILizEidsness replied on August 21, 2014See post history
.....
If you have to build a url field dynamically, the basic syntax is
displaytext#url#
so, in my dynamic field....
=Concat("Click here#/relative/path/on/my/sharepointsite/allitems.aspx&ID=",[ID],"#")
....
You could use a label on the form to represent the link. Have the Label.Caption property set to "Print Timesheet" and use the On Current event to set the Label.HyperlinkAddress property to whatever the address from the recordsource is.
I have created a report which contains a number of parameters so that the user can filter the data.
By default the show/hide paramters tab is closed.
To access these parameters the user needs to click on the usual button to expand the header area and view all the possible parameters.
This is all fine, I want the parameters to be hidden by default as it take up a large proportion of the report and not everyone wants to see them.
What I do want however is to create a text box called 'Use filtering' or something similar and create an 'action' so that when this box is clicked on the URL for the report with some sort of additional command on the end included so that it reloads the current page but with the command to show the parameter pane.
I have tried adding the following to the URL of the report page but it does not work:
&rc:HeaderArea=full&rc:Parameters=true
and also
&rv:HeaderArea=full&rc:Parameters=true
All it does it reload the page but with no changes to the parameter pane.
Can anyone point me in the right direction here.
If you want to use these parameters, you must load the report via the Web Service URL rather than the front end URL.
Typically on a standard install these are http://MyServer/Reports (Front end) and http://ReportServer (WebService). Only the WebService URL will accept the parameters you are trying to use, the other will just ignore them, hence why the report is loading but not observing the parameters your passing to it.
I'm reading "SQL Server 2008 Report Services - Unleashed" and I'm reading the section on page 128 where they have the reader create a new dataset.
The photo in the book shows a slightly different Dataset Properties dialog window to the one I'm using. The one in the book shows a dropdown list for choosing a data source while the same dialog window I'm using does not. I looked at the other tabs on the left side of the window but did not find anything that would suggest the user can choose a data source for the dataset. The list of tabs on the left are also in a different order as well.
The photo in the book also shows a query text field in the window and mine does not.
There is text on the top area of the window says "Choose a data source and create a query" and a "Name" text field just like the book photo but after that everything is different. Mine has a radio button set ("Use a shared dataset" and "Use a dataset embedded in my report")
Clicking the OK button gives a message "<> Select a datasource". Could this be a Bids bug?
If I look at the same dialog when creating a report using the wizard it shows the same as in the book.
All help will be appreciated.
Found it!
I hope this helps anyone who gets caught by this one. It had us guessing for hours.
Select the "Use a dataset embedded in my report" radio button and the dropdownlist will appear.