Print Page | Close Window

formula filed value of sub report in main report

Printed From: Crystal Reports Book
Category: Crystal Reports .NET 2003
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=3515
Printed Date: 03 May 2025 at 8:27pm


Topic: formula filed value of sub report in main report
Posted By: sarooptrivedi
Subject: formula filed value of sub report in main report
Date Posted: 24 Jun 2008 at 4:25pm
hi sir
i design one report in which one is sub report.
in sub report i was group the table field on parameter value in formula field.
when i call the field on my main page the it just display 0.00.
and can you please tell me how i add only one value in sub report as base of parameter value.
some code of my problem::
sub report code:
===============
shared currencyvar fee;
//whileprintingrecords;
if {?Pm-License.feetype}="S" then
count({Fees_Rate.LIC_FEE});
 
main report code:
============
whileprintingrecords;
shared currencyvar fee;
fee
if u
 


-------------
reply me on my mail id:saroop.trivedi@gmail.com.
crystal report help.



Replies:
Posted By: BrianBischof
Date Posted: 25 Jun 2008 at 1:29am

You should assign the value to the variable fee. You declare it but then you aren't doing anything with it.



-------------
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>



Print Page | Close Window