?
Solved

VB6 DataReport access DataFormat property through code

Posted on 2006-05-19
6
Medium Priority
?
1,042 Views
Last Modified: 2013-12-25
I am creating a Visual Basic Application using a DataReport and I would like to be able to access the DataFormat property of the RptTextBox control using code. (specifically set the DataFormat of the RptTextBox to Number and Decimal Places).  

0
Comment
Question by:rdwillett
  • 2
  • 2
5 Comments
 
LVL 2

Expert Comment

by:samstarkey
ID: 16725026
Just a thought, but would it not be a better idea to format the data as opposed to the textbox?
0
 
LVL 4

Author Comment

by:rdwillett
ID: 16744825
Please remove this question!
No acceptable answers
0
 
LVL 2

Expert Comment

by:samstarkey
ID: 16746898
Hold on,

You havn't told us what you have tried yet..

0
 
LVL 4

Author Comment

by:rdwillett
ID: 16751580
I stopped using DataReport and converted my reports to MS Word.  You can create a complete report with Word using VB and make a lot nicer report.  For complicated reports you might to use templates (.dot)
0
 

Accepted Solution

by:
GranMod earned 0 total points
ID: 16918663
PAQed with points refunded (250)

GranMod
Community Support Moderator
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question