Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8734

Re: Passing variable from sub-report

$
0
0

Hi Trey,

 

Try below points:

 

1. In crystal you have to convert string to number i.e For example

 

If NumericText ({table.field}) Then

      ToNumber ({table.field}) else 0

 

OR

 

In the sub-report

IncentiveVariable:

WhilePrintingRecords;

Shared StringVar Incentives := cdbl({rpt_EquipmentMaster.Description})

 

In the main report

IncentiveVariable:

WhilePrintingRecords;

Shared StringVar  Incentives;

 

 

2. Follow this link:

Passing Subreport Value to Main Report - Stack Overflow

 

Regards,

DJ


Viewing all articles
Browse latest Browse all 8734

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>