Wrox Programmer Forums
|
BOOK: Professional Crystal Reports for VS.NET
This is the forum to discuss the Wrox book Professional Crystal Reports for Visual Studio .NET by David McAmis; ISBN: 9780764544033
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Crystal Reports for VS.NET 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 11th, 2006, 01:48 AM
Authorized User
 
Join Date: Aug 2005
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default This field name is not known. error

Hello,

   I am using crystal 9 + ASP.Net(VB code behind). I am using two subreports in te main report and each of the subreprts are using two diffrent tables.When I am using repdoc.RecordSelectionFormula(repdoc is my report) I am gettign the following error. Anybody knows te reson, please post it.

Thanks
Ceema



Error in File C:\DOCUME~1\IBRA\ASPNET\LOCALS~1\Temp\temp_c4d395e 7-f3e8-4803-9828-929b40a74398.rpt: Error in formula <Record_Selection>. '{tmpForm7.SchoolID}=Ab1' This field name is not known.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: CrystalDecisions.CrystalReports.Engine.FormulaExce ption: Error in File C:\DOCUME~1\IBRA\ASPNET\LOCALS~1\Temp\temp_c4d395e 7-f3e8-4803-9828-929b40a74398.rpt: Error in formula <Record_Selection>. '{tmpForm7.SchoolID}=Ab1' This field name is not known.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[FormulaException: Error in File C:\DOCUME~1\IBRA\ASPNET\LOCALS~1\Temp\temp_c4d395e 7-f3e8-4803-9828-929b40a74398.rpt:
Error in formula <Record_Selection>.
'{tmpForm7.SchoolID}=Ab1'
This field name is not known.]
   .F(String  , EngineExceptionErrorID 
) +676
   .A(Int16 , Int32 ) +537
   CrystalDecisions.CrystalReports.Engine.FormatEngin e.GetPage(PageRequestContext reqContext) +539
   CrystalDecisions.ReportSource.LocalReportSourceBas e.GetPage(PageRequestContext pageReqContext) +189
   CrystalDecisions.Web.ReportAgent.u(Boolean N) +164
   CrystalDecisions.Web.CrystalReportViewer.OnPreRend er(EventArgs e) +108
   System.Web.UI.Control.PreRenderRecursiveInternal() +62
   System.Web.UI.Control.PreRenderRecursiveInternal() +125
   System.Web.UI.Control.PreRenderRecursiveInternal() +125
   System.Web.UI.Page.ProcessRequestMain() +1489

 
Old June 2nd, 2006, 10:18 AM
Registered User
 
Join Date: Jun 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to swapnilCrystal
Default

Hi buddy,

I have faced the same issue.

My report was working fine with the database source in which I have designed it. Then we decided to use different database name. I was providing the database name through config file, once I changed this database name I started getting the same error as you mentioned.

I resolved this by setting the database location as we required while executing it.

for that open ur report, select Database Expert, then select SetLocation option then create new connection and choose the database you are expecting while executing the report.

See if this works for you.........

Just now I have registered into this forum , so this might be so late for you.

Regards
Swaps
 
Old July 22nd, 2008, 01:12 AM
Registered User
 
Join Date: Jul 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to bayzid
Default

Hi Swaps,

Thanks for your solution.

Regards
Bayzid.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Error on updating the date field surya MySQL 2 September 16th, 2008 11:56 PM
Error getting field names from query vbark Access VBA 1 January 23rd, 2007 09:04 PM
Hidden Field value error - PLEASE HELP jroxit Classic ASP Basics 5 September 18th, 2006 05:46 AM
Numeric Field Overflow - Error -- HELP! timmaher Access 1 July 8th, 2005 06:17 AM
sql error: memo field "LIKE" or "=" gilgalbiblewheel Classic ASP Databases 3 April 29th, 2005 07:16 AM





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