cancel
Showing results for 
Search instead for 
Did you mean: 

SAP B1 Crystal Report Shared Variable Issue.

owaisk
Participant
0 Kudos
171

Hello Community,

i need help regarding shared variable

i used sub report field to show on main report using shared variable.

i have to put the formula below subreport in main report.

"is there any way that i want to put fromula above subreport and show value ???"

tia.

Regards.

Accepted Solutions (0)

Answers (1)

Answers (1)

DellSC
Active Contributor
0 Kudos

Unfortunately, no. The variable won't have a value until after the subreport processes.

If you're linking tables together in the Database Expert to get the data for your report, you should consider using a Command (SQL Select statement) instead. I've been able to get around this type of issue using a Command that will also get the value that you're currently using a subreport to get. This way you would have the value without using a subreport.

For more information about Commands, see https://blogs.sap.com/2015/04/01/best-practices-when-using-commands-with-crystal-reports/.

-Dell