Topic: How can I trim resulting data? Posted: 14 Apr 2011 at 7:08pm
Hi to all,
I have this formula in one of the crystal reports that I am asked to fix. I just cannot make the result correct.
The formula is: IF (table1.field1) = "ConferenceName/SessionName" THEN (table1.field1) + " - " + " # of Attendees: " + totext((table2.field1)) ELSE (table1.field1)
table2.field1 is a numeric field that has 2 decimal points.
The result in the report shows the 2 decimal points. How can I show it without the 2 decimal points. The result should be like this:
ConferenceName/SessionName - # of Attendees: 1 [or 2 or 3 depending on the customer order but without the decimal points]
I am not a programmer nor a developer so I would really appreciate any assistance on this.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum