Show tables based on clicking a TextBox - reporting-services

I wanted to know if there is a possibility to have a Textbox on a report which says something like "SHOW TABLES". When clicked the tables in the report should show.
My report contains tables and Charts. I want to be able to show the charts but not the tables. I should be able to show the tables only when the user clicks on "SHOW TABLES"
It should not rerun the report once we click the TextBox.

It depends what you mean by "rerun the report".
You can set the ToggleItem property of the tables you want to hide to the name of your Show Tables textbox.
Set the initial visibilty of the tables to be hidden. Clicking the Show Tables textbox will show the tables. Clicking on the textbox will hide them again.
In my testing, the report will re-render, but it will not load its DataSets again. So there will be some processing to update the report appearance but it's more lightweight than reloading a report from scratch.
It may not fit your needs perfectly but might be worth investigating.

right click on the report "'tablix properties"
In Display can be toggled by this report item, from the drop-down box, type or select the name of a text box in the report in which to display a toggle image; for example, Textbox1.
In the following image, the table is configured to enable users to expand and collapse it. The display of the table is toggled by the Products Table text box.
5.To test the toggle, run the report and click the text box with the toggle image. The report display refreshes to show report items with their toggled visibility.

Related

connected combo boxes in continuous form - the second combo doesn't show its value if dependent on first combo how could I fix that

I have a Continuous Form that has two combo boxes. If I don't link them together all values appear but if I link the two combo boxes to make one of them depend on other for easier choose from, the values never show in the second combo. I try to make code with if condition in vba to requery the combo values to show in all records but I couldn't. How could I do that? Thank you for all what you do
This technique is known as cascading combobox. A very common topic. Be aware that if combobox RowSource uses an alias (displays text when saving ID) the text will not be available for display in all records when the list is filtered. This is especially disconcerting for users of continuous/datasheet view form.
Could have code that only filters second combobox when it gets focus then restore the full list when loses focus. Users will still see data briefly disappear from other records and may find distracting at first but will learn to disregard.
However, a workaround to maintain display of text is to include the combobox RowSource lookup table in a query used as form RecordSource. Bind a textbox to the descriptive text field from lookup table. Set textbox as Locked Yes and TabStop No. In continuous view, can size and position textbox on top of combobox to obscure combobox text but still show drop arrow (a "hybrid" control). In datasheet view the textbox will not be superimposed but text will be displayed.
If controls are superimposed, users accustomed to clicking into combobox text frame and typing input will encounter aggravation as the textbox will likely be the control they click. Tabbing to the combobox or clicking drop arrow will cause combobox to get focus and display over the textbox.

How to display the results of a search Query (done by clicking a "Search" Button) in a Subform?

I'm working on a DB in Microsoft Access 2016 and created a search form with multiple filters and then a Search button. It works perfectly fine, it shows the results in a query table that opens separately but I would like the results to be shown on the form page right below the button.
I tried:
creating a list box and setting the row source to my query
dragging the query itself on my form page to create a subquery and it only every data in the DB. The query is still functional, it opens in another tab and works, but the subform doesn't change at all
creating a combo box and displaying the results after pressing the button in the said combo box
adding another button in the subform to run the query but it has the same outcome: results displayed in a separate tab.
pic of what I want my form to do
I attached a pic, that's not my actual DB. Basically I want the box to display my results only after clicking the button.
Nothing has worked :( is there anything else I could try? I would gladly post my .accdb file if it's easier to understand what I mean.
Thank you!

Generating reports through a form and the navigation pane

Right now I have a report that is generated by clicking a button on a form. The criteria for the report is what the user selects in a combo box. That works fine, but when I click on the report in the navigation pane, it tells me to enter "Forms!Adjudication!Combo21" because that is the criteria it uses on the form. I was wondering if I can change that to say something like "Enter release event" that will show up when I click on the report in the navigation pane, but also leave the option to generate the report through the form?
well since your query is looking for that combo field, when the form is closed, it wont find it. however, the query is already prompting you to enter a value, so you can just enter a value in that box and it will work fine. no need to over do this. if you are looking to change the label to "Enter Release event", then consider changing the combo box's name on the form Adjudication to something that will make sense to the user, like instead of "Combo21", change it to "ReleaseEvent". That way the prompt should return "Forms!Adjudication!ReleaseEvent".
sure you can do more here to, but like i said, probably not necessary to over complicate this.

Hide a report column in SSRS

I have a web SSRS (2008) report that has many columns (about 20). I would like to know if it is possible to allow the user to show/hide a particular column in the report by clicking some button or checkbox or the like? The purpose of this would be to allow the user to see the columns they want to see.
Right mouse click on the column and select "Visibility" property:
One of the options "Display can be toggled by this report item" - you can point to a dedicated, formatted textbox, clicking on which would show/hide column

Bids Dataset Properties dialog has no datasource dropdownlist

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.