SharpGraph for .NET Support

Started by mxc at 09-02-2008 6:10 PM. Topic has 1 replies.

Print Search Rate
Sort Posts:    
   09-02-2008, 6:10 PM
mxc is not online. Last active: 5/28/2008 4:37:07 PM mxc

Not Ranked
Joined on 08-28-2004
US
Posts 5
Subreport
I put a subreport in detail section

I want to know if the subreport is blank page or not when program running

I try run the subreport and test the currentpage is nothing or document.pages.count

But I find if I put obj.run in the following code, the subreport will not show up

the following code in detail1_format event

Dim obj as new activesubreport1
with obj
.a=A
.b=B
...
End obj
Set Me.subreport1.report=obj

obj.run
if subreport1.CurrentPage Is Nothing then
...
end if




   Report 
   09-03-2008, 2:08 PM
ericc is not online. Last active: 4/4/2009 4:32:14 PM ericc

Top 10 Posts
Joined on 03-01-2005
Posts 1,857

DDStaff
Re: Subreport
Thank you for your question. Please note subreports are not page aware, thus you will not be able to return the PageCount (They can simply be thought of as a control). If possible could you describe the reason you are attempting to achieve such functionality? If so I may be able to recommend an alternative approach.

Thanks,
    Eric


   Report 
GrapeCity » Product Support » SharpGraph for ... » Re: Subreport

Privacy Policy | Copyright © 1997-2012 — GrapeCity, inc.
All trademarks mentioned are the property of their respective owners.