Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Formula fields in Crystal Reports

Thread Tools

Formula fields in Crystal Reports

Michelle Stone
Posts: n/a
I have bound a Crystal Report to a dataset that contains
two fields "var1" and "var2" both of which are of DOUBLE

I want to display the sum of the two on my report.

So i created a FORMULA field in which i typed MySet.var1
+ MySet.var2

where MySet is the name of the dataset added to the
crystal report.

Surprisingly (though there are no errors displayed),
nothing shows up in the report after i dragged and
dropped the new formula field onto the report.

What could be the issue? I confirmed that the values are
there (i mean var1 and var2 exists with proper values).

Thank you.

Reply With Quote
rahul.chitte rahul.chitte is offline
Junior Member
Join Date: Feb 2008
Posts: 1
whatever u r doing is something like concatinating 2 strings in Crystal report.
Use sum() mathematical function available in formula editor..
and simply provide the fields u require to compute in sum() function.
I hope this will be helpful 4 u.
Reply With Quote
JohnPantoo JohnPantoo is offline
Junior Member
Join Date: Sep 2011
Posts: 3
Hi All,
Here, a simple example is defined for Formula field in Crystal report, you may check out the following links........

Thanks !!!!!
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems using ASP and Crystal Reports 8.5 to create dynamic PDF reports ASP General 0 10-23-2006 02:50 PM
Is it possible to get Crystal Reports to print multiple reports in ASP.NET? Rod ASP .Net 2 05-25-2006 02:12 PM
How to launch reports (done with Crystal Reports) from a Java application? Java 2 03-15-2006 08:40 PM
Calling Crystal Reports in ASP.NET using the rptserver.asp given by Crystal Reports Peri ASP .Net 1 07-21-2005 12:56 PM
Crystal Reports Recordselection formula not working while exportin =?Utf-8?B?U3Jpaml0aCBBdWd1c3RpbmU=?= ASP .Net 0 01-05-2005 08:27 AM