Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Group Sub total not Visible in Print Preview
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Group Sub total not Visible in Print Preview

 Post Reply Post Reply
Author
Message
SHAN View Drop Down
Groupie
Groupie
Avatar

Joined: 17 July 2010
Location: Dubai
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote SHAN Quote  Post ReplyReply Direct Link To This Post Topic: Group Sub total not Visible in Print Preview
    Posted: 19 July 2010 at 7:25am

Hi,

Group Sub total not Visible in Print Preview and Column Header also not showing, But printing is Ok.See the below Screen Shot .

Print Preview Screen Shot

 

 

ReportControl Screen Shot

Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows 7 Professional
Language: Visual Basic 6.0
Back to Top
SHAN View Drop Down
Groupie
Groupie
Avatar

Joined: 17 July 2010
Location: Dubai
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote SHAN Quote  Post ReplyReply Direct Link To This Post Posted: 01 September 2010 at 11:39pm
 
This Print Preview problem only in Windows 7 But Printing Correctly.
 
Other Operationg System Displays in Print Preview and PrintingCorrectly
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows 7 Professional
Language: Visual Basic 6.0
Back to Top
JamGodz View Drop Down
Groupie
Groupie
Avatar

Joined: 25 February 2010
Status: Offline
Points: 67
Post Options Post Options   Thanks (0) Thanks(0)   Quote JamGodz Quote  Post ReplyReply Direct Link To This Post Posted: 11 September 2010 at 4:28am
hello any update with this i also encounter in PrintPreview example. My O.S is Win7
Back to Top
RJAMIN View Drop Down
Newbie
Newbie
Avatar

Joined: 29 September 2010
Location: Houston, TX
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote RJAMIN Quote  Post ReplyReply Direct Link To This Post Posted: 29 September 2010 at 6:24pm
Hi,
 
How does the group subtotal show properly on your control? When I tried to do the subtotal, unless the columns are at exact location with exact size, the subtotal will be in the wrong place (Not just alignment, but it can show up in a wrong column).
 
This is the code I use to generate the subtotal:
Private Sub wndReportControl_GroupOrderChangedEx(ByVal sender As Object, ByVal e As AxXtremeReportControl._DReportControlEvents_GroupOrderChangedExEvent) Handles wndReportControl.GroupOrderChangedEx
    Dim row As Integer
    Dim groupRow As XtremeReportControl.ReportGroupRow
    If ((e.reason And XTPReportColumnOrderChangedReason.xtpReportColumnAddedToGroupby) = XTPReportColumnOrderChangedReason.xtpReportColumnAddedToGroupby) Or _
       ((e.reason And XTPReportColumnOrderChangedReason.xtpReportColumnRemovedFromGroupby) = XTPReportColumnOrderChangedReason.xtpReportColumnRemovedFromGroupby) Then
        For row = 0 To (wndReportControl.Rows.Count - 1)
            If (wndReportControl.Rows(row).GroupRow) Then
                groupRow = wndReportControl.Rows(row)
                groupRow.GroupFormula = "SUMSUB(C6:C7) SUMSUB(C8:C9)"
                groupRow.GroupFormat = "%0.2f"
                groupRow.GroupCaption = ""
            End If
        Next
    End If
End Sub
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.