3c15415f16a8269913e182770961d9079d1556be
FAQ/Questions/sub-reports-and-drilldowns.md
| ... | ... | @@ -60,4 +60,51 @@ _*NOTE:* If your subreport is not listed in this dropdown, it either has not bee |
| 60 | 60 | |
| 61 | 61 | * In the Advanced Field Options for your second chosen field, select the ComboKey behavior. You _must_ select ComboKey for the second report. This behavior instructs this field to search back, find the nearest field above this field in the report list that is targeting the same subreport, and pass its value along with that field. |
| 62 | 62 | |
| 63 | -* *OPTIONAL:* Ingore First Key allows you to ignore the value passed by the first key to the subreport. The value will be passed, but then discarded before the subreport is filtered by values from the parent report. This is used when you want the on-click action to occur on one field, but then pass a second field as the singular drilldown value. |
|
| ... | ... | \ No newline at end of file |
| 0 | +* *OPTIONAL:* Ignore First Key allows you to ignore the value passed by the first key to the subreport. The value will be passed, but then discarded before the subreport is filtered by values from the parent report. This is used when you want the on-click action to occur on one field, but then pass a second field as the singular drilldown value. |
|
| 1 | + |
|
| 2 | +Here are some potential combinations: |
|
| 3 | + |
|
| 4 | +Column A, to Subreport, as Popup - passes value A1 |
|
| 5 | + |
|
| 6 | +or |
|
| 7 | + |
|
| 8 | +Column A, to Subreport, as Popup - passes value A1 and B1 |
|
| 9 | +Column B, to Subreport, as ComboKey - finds most recent column pointed at Subreport and tells it to pass B1 as well |
|
| 10 | + |
|
| 11 | +or |
|
| 12 | + |
|
| 13 | +Column A, to Subreport, as Link(New) - passes A1 and C1 |
|
| 14 | +Column B, to OtherSubreport, as Link(New) - passes B1 |
|
| 15 | +Column C, to Subreport, as ComboKey - finds most recent column... |
|
| 16 | + |
|
| 17 | +or |
|
| 18 | + |
|
| 19 | +Column A, to Subreport, as Link(New) - passes A1 |
|
| 20 | +Column B, to Subreport, as Embedded - passes B1 |
|
| 21 | + |
|
| 22 | +####URL Drilldowns |
|
| 23 | + |
|
| 24 | +* The URL always passes values from a record from a single field. There are two different values you can use, ddkvalueX, where X is not defined (for first value) and 2 for second value, and pXvalue, where X is an integer from 1 to 4. The components of a URL string are: |
|
| 25 | + |
|
| 26 | +* ReportViewer.aspx - this instructs the URL to load the ReportViewer.aspx page. You can also point this at ReportDesigner.aspx, or any other Izenda page including custom pages, or any other permissble url. |
|
| 27 | + |
|
| 28 | +* rn - this instructs the URL to load the given report name. If the report is named My Report, you would use the value rn=My+Report. Categories are appended to the front of this value, as in rn=My+Category\My+Report |
|
| 29 | + |
|
| 30 | +* ddkvalue - this instructs the passed value to be used in a field defined as a drilldown key on the subreport. To pass the first value we set ddkvalue, to pass the second we set ddkvalue2. |
|
| 31 | + |
|
| 32 | +* pXvalue - this instructs the passed value to be used in a filter. The filter must be set up ahead of time, it cannot be set dynamically by detecting the field or datatype of the passed value. Izenda supports values being passed into the first 4 filters on any report, numbered on the filter tab from 1 to 4. You cannot pass a value into filter 5, for example. |
|
| 33 | + |
|
| 34 | +* {x} - This allows you to specify the column which passes a value on this record-line. A value of 0 means 'this column', values 1 to X indicate specifically columns 1 or X. If I am passing a value from the first column, I could use either {0} or {1} to indicate either 'this column' or 'the first column' |
|
| 35 | + |
|
| 36 | +* ? and & - The first segment of the URL string should be seperated with a ?. Subsequent seperations use &. |
|
| 37 | + |
|
| 38 | +#####Examples |
|
| 39 | + |
|
| 40 | +http://www.google.com/?q={0} - Takes the value in this column and sends it to Google. |
|
| 41 | + |
|
| 42 | +ReportDesigner.aspx?rn=My+Category/My+Report&ddkvalue={2}&ddkvalue2={6} - Loads the Report Designer, loads the report named My Report in the category called My Category, takes the value in column 2 and passes it to the first drilldown field, and takes the value in column 6 to pass to the second drilldown field. |
|
| 43 | + |
|
| 44 | +ReportDesigner.aspx?rn=My+Category/My+Report&p1value={0}&p2value={2}&p3value={3} - Loads the Report Designer, loads the report named My Report in the category called My Category, takes the value in the clicked column and passes it into the first filter on the subreport, passes the value from the second column to the second filter, and passes the value in the third column to the third filter. |
|
| 45 | + |
|
| 46 | +ReportDesigner.aspx |
|
| 47 | + |