Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Format Unbound Number

Status
Not open for further replies.

Auguy

Programmer
May 1, 2004
1,206
US
I am using VB.net with CR. I know this should be really easy, but I can't find the answer. I have an unbound number field on the detail line that sums four columns. I cannot set the format to have no decimal places. I have set the decimal places to zero in the properties. If I right click on the field and select format object, there is no "Number" tab. What am I doing wrong?

Auguy
Sylvania/Toledo Ohio
 
Hi,
Try setting the format on each of the 4 columns used in the sum - that should carry over to the sum itself.



[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Thanks Turkbear. I figured out the problem. I created the xsd using the following code in VB.net
Code:
dsRpt1.WriteXml("QtrMgt1.xsd")]
and all of the columns appear to be strings. I had to change it to
Code:
dsRpt1.WriteXml("QtrMgt1.xsd", XmlWriteMode.WriteSchema)
Now it picks up the correct field types.

Auguy
Sylvania/Toledo Ohio
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top