Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
|
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 17th, 2005, 06:07 PM
Registered User
 
Join Date: Feb 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Crystal manual crosstab

I'm trying to create a manual crosstab report with two groups at the left and a known number of years on the top. Grouping and summaries are working fine, but I can't get my formula right. I'm assuming that I create a formula for each year and place in the Details section. Here's what's not working:

first year formula
if {AssetYear.Value}) = {Revision.planyear} then
{AssetYear.GetEndingValue}
second year formula
if {AssetYear.Value}) = {Revision.planyear} + 1 then
{AssetYear.GetEndingValue}

Any ideas? Thanks!
 
Old February 18th, 2005, 06:42 PM
Authorized User
 
Join Date: Aug 2004
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Eric,
     I'm not sure it will help but the obvious thing to me is that in neither of your formulas do you have an "else" statement.
      e.g. if {AssetYear.Value}) = {Revision.planyear} then {AssetYear.GetEndingValue} else 0
      Also you have a closed bracket after {AssetYear.Value} but no opening bracket.
      Hope this helps,

      narooma






Similar Threads
Thread Thread Starter Forum Replies Last Post
Crystal Reports Crosstab omarmalik Crystal Reports 0 September 28th, 2006 04:31 AM
Crystal Reports Crosstab omarmalik SQL Server ASP 0 September 28th, 2006 04:29 AM
Manual Submit Digon Classic ASP Basics 2 December 28th, 2005 08:24 PM
Manual Copy-Of aberglas XSLT 1 February 17th, 2005 05:40 AM
Manual Increment MySQL Field cmiller Beginning PHP 4 August 27th, 2003 05:26 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.