Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 17th, 2005, 06:07 PM
Registered User
Join Date: Feb 2005
Location: , , .
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
second year formula
if {AssetYear.Value}) = {Revision.planyear} + 1 then

Any ideas? Thanks!
Reply With Quote
  #2 (permalink)  
Old February 18th, 2005, 06:42 PM
Authorized User
Join Date: Aug 2004
Location: , , .
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts

     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,


Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 01:17 AM.

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