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 April 8th, 2006, 09:52 PM
Registered User
 
Join Date: Apr 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Formula Fields in Records Problem

My app is pushing a dataset to a crystal report. In the dataset are first, middle and last names. In other uses of Crystal Reports I've just created a Formula that concantinates all these together into one field and then I put that formula in place of the three previous fields.

I'm just learning CR with .Net and when I do this, the Formula field does not always show up. In fact it only gets displayes in about 30% of the records. Is there any setting I have to make to force it to always be calculated and displayed?

Any suggestions?

Thanks,
Bernie


 
Old April 14th, 2006, 06:52 PM
Registered User
 
Join Date: Apr 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Answering my own question for anyone who may read this in the future with a similar problem. CR does not respond well to Null fields. VB will concantinate "Test" & Null to be "Test", CR concantinates these as a null and therefore a blank on the report. Make sure to use the isNull function on all data that you are going to concantinate together first before adding them together.

Bernie






Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula to Summarizie records thtang Crystal Reports 1 March 23rd, 2007 03:03 PM
View records based on formula deepakbhota Crystal Reports 0 August 11th, 2005 08:35 AM
CRW 8.5, 356 formula fields on rpt sections Lydia BOOK: Professional Crystal Reports for VS.NET 0 May 23rd, 2005 06:23 PM
formula fields at runtime p_gauri7 Crystal Reports 2 March 26th, 2005 05:00 PM
How to suppress the duplicated fields? (formula) winnie1778 Crystal Reports 0 October 18th, 2003 05:56 AM





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