.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

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -