string sDocType = (String)Report.GetParameterValue("P_DOC_TYPE");
private void _StartReport(object sender, EventArgs e) { String s = "P_STORED_NAME: [" + Report.GetParameterValue("P_STORED_NAME") + "]"; Text2.Text = s; if (0 == ToInt32(Report.GetParameterValue("P_FLAG1")) ) s = "FLAG1 = 0"; else s = "FLAG1 = 1"; Text3.Text = s; RepHost host = new RepHost(Report); String v_sql; /* v_sql = SqlFormat("select id, dat, msg from SUPERMAG.SMLOG" + " where dat > trunc(sysdate) "); v_sql += " and nvl(action, 'HZ') not in ('DISC') "; v_sql += " order by id" ; */ v_sql = "select article, '' dat, name from SUPERMAG.SMCARD where rownum < 11"; host.TableDataSourcePreInit("LogQuery", v_sql); }