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

ReportRecordItem Format property

 Post Reply Post Reply
Author
Message
mbrogdon View Drop Down
Groupie
Groupie


Joined: 22 March 2007
Status: Offline
Points: 40
Post Options Post Options   Thanks (0) Thanks(0)   Quote mbrogdon Quote  Post ReplyReply Direct Link To This Post Topic: ReportRecordItem Format property
    Posted: 27 March 2009 at 2:06pm
I have a ReportRecordItem  with a 9 digit string with a value  ="239985000".
 
Is it possible to have the ReportControl display this as "239985/000"?
 
thx
 
 
Xtreme SuitePro ActiveX 13.2.0 - Windows XP SP3 - VB6/Ingres Openroad 2006
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: 05 April 2009 at 7:28am
Hi,
 
You could use BeforeDrawRow event only for displaying this kind of format without actually changing ReportItem caption.
 
 
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
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 01 May 2009 at 5:07pm
You can pass desired format to ReportRecordItem e.g. "My item text = %s today" and it will executed. In more complex case like your you need to make proper numerical format - may be with 2 parts with different attributes.
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.203 seconds.