public Report(ReportDefn r)
{
_Report = r;
_Cache = new RCache();
rl = new ReportLog(r.rl);
_ReportName = r.Name;
_UserParameters = null;
_LURuntimeName = new ListDictionary(); // shouldn't be very many of these
if (r.Code != null)
_CodeInstance = r.Code.Load(this);
if (r.Classes != null)
r.Classes.Load(this);
}