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 12th, 2006, 04:17 AM
Authorized User
 
Join Date: Aug 2005
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default why this formula pssing is not working?

Hello,


  I have created one crystal 9 reports with two subreports and in asp.net I am calling it. if I will use the code

 subRepDoc.DataDefinition.FormulaFields.Item("Schoo lID").Text = "'ab0'" for passing the record formula, it's working fine.

But if I will assign like

 subRepDoc.DataDefinition.FormulaFields.Item("Schoo lID").Text = "'" & session("SchoolID") & "'"

it's not giving the result. Do you have any suggestion?

Thanks
Ceema
 
Old April 12th, 2006, 06:15 AM
Authorized User
 
Join Date: Aug 2005
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

  I have got the reason, it was because if was searching for case sensitive data. I was passing Ab0 and database was having ab0 as data.

Thank you
Ceema






Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel formula not working in vba yogeshyl Excel VBA 2 December 12th, 2007 02:27 AM
Excel formula not working in VBA yogeshyl Excel VBA 2 July 19th, 2007 03:57 AM
Formula scandalous Access VBA 11 February 27th, 2007 09:49 AM
Local COM working , but not working at Web Serv nagen111 .NET Web Services 3 February 19th, 2005 04:22 AM
formula winnie1778 Crystal Reports 14 October 16th, 2003 03:25 AM





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