Joined: 04 Mar 2010
Online Status: Offline
Posts: 5
Topic: how to store value Posted: 04 Mar 2010 at 6:32pm
I am new to crystal reports and am trying to do a report for work. I have a field that needs to display a total of a specific field. I am having trouble with how to write the if statement in the proper syntax. In C++ I would define a variable called instotal and if a certain condition exists add the billing.charge to the instotal and once done display the instotal. It doesn't look like I can decalre a variable in the formula nor can I display a field that isn't in a table. Is this correct? If so how do I get around it?
Joined: 04 Mar 2010
Online Status: Offline
Posts: 5
Posted: 05 Mar 2010 at 8:23am
I understand how to do the if statement but I don't know how to declare the variable and print that variable instead of an actual database field. In C++ I would of done something similiar to this, how does this work in CR?
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