Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Column Number Format
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Column Number Format

 Post Reply Post Reply
Author
Message Reverse Sort Order
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 Topic: Column Number Format
    Posted: 22 September 2010 at 7:38am
Hi Shan,

Nice! but have you tried to use the groupformula and sum up the item(the you have formatted with comma)?. as i have tested it wont sum up...

is this a limitation in RC? hope is not..

thanks...
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: 22 September 2010 at 4:18am
Hi Aaron ,
 
 Thanks for your Quick reply ...!
 
 
I tried and found myself a solution for this issue.....!
 
 
Private Sub ReportControl1_BeforeDrawRow(ByVal Row As XtremeReportControl.IReportRow, ByVal Item As XtremeReportControl.IReportRecordItem, ByVal Metrics As XtremeReportControl.IReportRecordItemMetrics)
 
    Row.Record.Item(3).Caption = Format(Row.Record.Item(3).Caption, "##,##0")

End Sub
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows 7 Professional
Language: Visual Basic 6.0
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 22 September 2010 at 3:46am
Hi,
 
I know format property isn't wonderfull for non US users... I did test once and couldn't solve this but with the help of Jason (@jpbro) I solved the formatting issue. Maybe it can help you too.
 
 
Good luck Wink
 
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....
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: 22 September 2010 at 1:34am
Hi,
 
 I want to set a Column Number Format.
 
 Currently it shows like this:   12345
 
 I need to show the format like this: 12,345 (Comma Format)
 
 
How to do this? Anyone pls help....!
 
 
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows 7 Professional
Language: Visual Basic 6.0
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.063 seconds.