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 December 11th, 2006, 07:50 AM
Registered User
 
Join Date: Dec 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Looking Up Values In Other Fields

Good Morning,

Just can not get my head around the following and am sure there is a simple way around this.

In Crystal reports, I just want to create a lookup-type formula which will display a certain value from the same table.

Example:

Ref Value IF R?
---- ------- ------
10 £100 £500
11 £200 £0
12 £300 £600
R10 £500 £0
R12 £600 £0

So simply, at each line, the 'IF R' formula would in turn look at the ref fields and display the Value if there is an existance of an R** ref.

Would I have to create a subreport to achive this?

Thank you in advance for your response.

Paul Carruthers






Similar Threads
Thread Thread Starter Forum Replies Last Post
storing fields values in variable from openqury imaginevictor SQL Server 2000 1 July 12th, 2007 02:42 AM
Default Values On Fields hossrad SQL Server 2005 2 May 15th, 2007 02:27 AM
How to calculate cumulative values of query fields method Access 0 July 12th, 2005 08:53 AM
Looping through form fields & retriving the values tdaustin Classic ASP Basics 8 June 10th, 2003 03:17 AM





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