Apologies for these recent newbie questions, but I'm obviously not asking the search engines the correct questions.
I have a report I'm trying to reconstruct after upgrading from VS2008 to VS2010 introduced errors into an existing Crystal Report. So, I have a semi-working report I'm trying to duplicate.
I have a report containing some subreports. The Main Report has some parameters in queries within "Database Fields" and I need to pass those fields to a particular Subreport's "Parameter Fields" so that it can then reference those parameters in its own queries.
So, my question is: How do I create the association between the query result on the Main Report and the parameter on the Subreport?
For Crystal Reports for Visual Studio 2010 - That's the only one that works currently, isn't it?
When adding a sub-report [or changing the "Change Subreport Links" for an existing report] you can select the parameter on the subreport from the drop-down on the bottom left of the 'Links' tab (or Subreport Links dialog, if editing an existing subreport)
Once you've selected your field (or Parameter) on the left in the 'Available Fields:' list, click the > button to move it to the right and you'll see link options appear below. so this is the field from the main report you want to use as a parameter for you subreport
Underneath, on the right select the parameter (from you subreport) you wish to link it to. This is the parameter in your subreport that you want to use
does that make sense.
Maybe some images would help.
Depending on your version, the terminology might be slightly different, but you should be able to right-click on the subreport and select "Change Subreport Links".
From the Available Fields column, find your parameters and click the > button to move them over to the "Fields to Link" column. Click OK when you are done.
Now go to your subreport, and make sure that the parameters you linked are available as parameters; you should be able to use these parameters in your Record Selection for your subreport.
Related
so im trying to create an interactive report using apex. Usually, it will automatically create CRUD operation in the report. But somehow, the edit button (pencil and paper icon) in my interactive report is gone and i don't know how to fix nor adding them manually. Before it was gone, I changed my IR to Classical report since after i upload the table, APEX doesn't show all the columns (only 8 out of 9 column showed). And after that, I return the table into IR since all the column showed, but this is where the problem started.
Any thoughts?
go to report's Attributes properties tab (on the right hand side of the Page Designer screen)
set the Link property to "Link to Custom target"
target will be "page in this application"
choose it from list of values (or type it manually, if you know its number)
as you'll want to pass item(s) value(s) from the report to form page, set items
That's all.
I have a question similar to this one:
How do you populate an SSRS TextBox with a DataSet value?
I'm on old release 2012 R1 and designing report in Visual Studio 2010 shell.
I want user to enter a specific order number, and thus the query will return just one row. I want to show the fields down the page (better for viewing/printing), instead of across the page like the normal table does (especially if I have so many fields that they don't fit on the width of one screen).
Example:
Don't I just bind the textbox to a database field on the properties using DataElementName. That's what I didn't understand about the post I referenced above.
I think I figured it out. I clicked Action then was able to select the database field from a list. After that, I also noticed I can right click, then click "Expressions", and the following screen appears:
I need to allow the user to select 1..N of a particular parameter when generating an SSRS report. According to this otherwise very helpful blog post, that's possible, but its instructions in Step 5 to "Set the Properties of both parameters" has me clawing my noggin.
What two ("both") parameters? In the Preview tab I see the dropdown list, but right-clicking doesn't afford any contextual menu items. The other ("Design") tab shows no dropdown list, of course.
So from where is the "Allow multiple values" checkbox Step 5 mentions accessible?
You get to the parameter properties in Design mode (design tab), not preview mode. Double-click on any parameter under the parameters folder in the Report Data pane. (If the Report Data pane is not visible, Ctrl-Alt-D will show it) There, under General, is where you set the Allow multiple values option.
I have a report, and a linked subreport. The subreport is linked on a field on the main report.
A field in the main report should link to the subreport at run-time, but when I run it, keep on getting the prompt "Enter parameter values".
The field in the main report is linked to the subreport using the automatic parameter name in the subreport, and have the "select data in the subreport based on field" checked, and the corresponding field in the subreport (shown in the attachment).
I am using Crystal for VS 2013.
This is a winform application.
What am I missing?
I seemed to have the same issue under the same parameters you described. Moreover, while debugging, the winforms app would throw a COM exception. Context switching between VS and the report would reveal the prompt for the subreport parameters (which should have been linked).
An hour of exploring and trial-and-error later, here is how I managed to resolve the issue in VS2013:
On your main report, right-click the subreport and select 'Change Subreport Links...'
Ensure that you have the correct subreport selected, the move across any missing parameters from the 'Available fields' box
For each item you move across, ensure that you have the correct subreport parameter selected in the 'Subreport parameters field to use' drop down list. For parameters, this will generally take the form '?#ParamName'
That got the report working for me again. I hope you have some luck with it!
Does anyone know how to generate a simple report showing all tables in a model, and their columns (name and a few attributes including NOT NULL)? I worked through the Report Wizard and got totally confused.
I didn't find the previous answer to be very clear.
Select the model from the object browser.
Select Report -> List Report Wizard from the main menu.
Select "EntityAttribute" (logical model) or "Column" (physical model) in the Object Type field of the dialog box and click Next.
Select the columns to include in the report (example) and click Next.
Select the filter and/or sort columns, if any, and click Next.
Enter a name for the List Report and check the "Generate the list report to an external file" (example) if you want the report written to a file, and then click the Finish.