Print Page | Close Window

ReportRecordItem Format property

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=13832
Printed Date: 14 November 2024 at 11:20pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ReportRecordItem Format property
Posted By: mbrogdon
Subject: ReportRecordItem Format property
Date 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



Replies:
Posted By: Aaron
Date 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....


Posted By: mdoubson
Date 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.

-------------
Mark Doubson, Ph.D.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net