Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - SetFormat in a Reportcontrolnumber
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SetFormat in a Reportcontrolnumber

 Post Reply Post Reply
Author
Message
marlouf2002 View Drop Down
Newbie
Newbie


Joined: 11 February 2009
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote marlouf2002 Quote  Post ReplyReply Direct Link To This Post Topic: SetFormat in a Reportcontrolnumber
    Posted: 11 February 2009 at 3:18am
Hi,
 
 
I create a reportcontrol and I add a reportcontrolnumber
 
, next I would format my reportcontrolnumber .
 
 I search the event which could intercept the load of my data in the report.
 
Thanks. 
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: 18 February 2009 at 9:06pm
Call c-tr CXTPReportRecordItemNumber::CXTPReportRecordItemNumber(double dValue, LPCTSTR strFormat)
instead of default c-tr CXTPReportRecordItemNumber::CXTPReportRecordItemNumber(double dValue) which use predefined format: "%0.f"
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.172 seconds.