internal cReportVariable add(cReportVariable c, String key) { try { if (c == null) { c = new cReportVariable(); } if (key == "") { key = cReportGlobals.getKey(cReportGlobals.getNextKey().ToString()); } else { cReportGlobals.refreshNextKey(key); key = cReportGlobals.getKey(key); } Add(key, c); return(c); } catch { return(null); } }
internal cReportVariable add(cReportVariable c, String key) { try { if (c == null) { c = new cReportVariable(); } if (key == "") { key = cReportGlobals.getKey(cReportGlobals.getNextKey().ToString()); } else { cReportGlobals.refreshNextKey(key); key = cReportGlobals.getKey(key); } Add(key, c); return c; } catch { return null; } }