# Pass Current CompanyID into SSRS **Category:** [Epicor ERP 10](https://www.epiusers.help/c/e10/5) **Created:** 2017-01-16 22:11 UTC **Views:** 724 **Replies:** 0 **URL:** https://www.epiusers.help/t/pass-current-companyid-into-ssrs/36916 --- ## Post #1 by @xiaoting I have a SSRS report and I wanted to open this report based on current company. I did customization, added an Epibutton event. there is part of my code: private void epiButtonC1_Click(object sender, System.EventArgs args) { EpiDataView edv = (EpiDataView)oTrans.EpiDataViews["DMRCorAct"]; var qt = edv.dataView[edv.Row]["ActionID"]; if (!String.IsNullOrEmpty(qt.ToString())) { ProcessStartInfo sInfo = new ProcessStartInfo("IEXPLORE.EXE","-nomerge http://ReportServer?/reports/ActionReport&Company=Session.CompanyID&ActionID=" + qt.ToString()); Process.Start(sInfo); } else { MessageBox.Show("Enter Action Number!"); } } --- **Canonical:** https://www.epiusers.help/t/pass-current-companyid-into-ssrs/36916 **Original content:** https://www.epiusers.help/t/pass-current-companyid-into-ssrs/36916