.net - Changing Location of SubreportObject Object, Crystal Reports, C# -
i facing such kind of problem. using visual studio 2005. need change location of subreportobject object.
foreach (section section in report.sections) { foreach (object obj in section.reportobjects) { if (obj subreportobject) { subreportobject sub = obj subreportobject; reportdocument doc = sub.opensubreport(sub.subreportname); sub.left = math.max(0, width - sub.left - sub.width); } } } but getting exception because "adding or changing kind of report object not supported" exception says. there other ways changing location of subreport object ?
thanks help
i found solution myself. changed design of report , no need changing location.
Comments
Post a Comment