I am quering a FileMaker server via ODBC with Visual Studio 2008 and dabbing on making reports from the data in one Database of the server. This is my first time working in Visual Studio and C# so please be patient with me. The reporting capabilites of Visual Studio is much more advanced than FileMaker, the aggregate functions are much easier to implement in Matrix and Tables... Anyways I have a report on the first page pulls the Data from the table and the Matrix is populated. I then want to jump to another report with Data from another Table and pull over some parameters based off the first report. I have used the "JUMP TO" in the report .rdlc file from the first report and supplied the parameters... When I create a dummy second report with just textboxes and display the parameters I see the values correctly. Now I add a Matrix to the second report and I get "A data source instance has not been supplied..." So I then added code to initiate the Report.Drillthrough event to pass the dataset table to the drill down report. And now I get "Some parameters or credentials have not been supplied" but I know the parameters are getting passed when I debugging I can see the 5 parameters that I need for the second report. Here is my code:
private void HoldsPerLocations_Load(object sender, EventArgs e)
{
// TODO: This line of code loads data into the 'dataSet1.BillingPackets' table. You can move, or remove it, as needed.
reportViewer1.Drillthrough +=
}
localReport.DataSources.Add(
reportViewer1.RefreshReport();