PrintPreview |
Post Reply |
Author | |
JamGodz
Groupie Joined: 25 February 2010 Status: Offline Points: 67 |
Post Options
Thanks(0)
Posted: 24 May 2011 at 2:27am |
Hi All
Does anyone know how to include RowNumber in PrintPreview. Any help would be appreciated. Thanks. |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi, Seems it doesn't show rownumbers, guess you have to create your own column with row/record numbers. It's not that difficult, just add column and have BeforeDrawRow event to add numbers of rows/records Private Sub ReportControl1_BeforeDrawRow(ByVal Row As XtremeReportControl.IReportRow, ByVal Item As XtremeReportControl.IReportRecordItem, ByVal Metrics As XtremeReportControl.IReportRecordItemMetrics)
If Not Row.groupRow Then If Item.Index = 0 Then Metrics.Text = Row.Index 'or Row.Record.Index in case you want to see the record numbers End If End If End Sub Done and showing in printpreview
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |