Solved

VB6 SQL Crystal reports error "This field is not known.

Posted on 2014-03-12
5
704 Views
Last Modified: 2014-03-13
I run a vb6 system that uses SQL and Crystal Reports. The program stops with an error "This field is not known". Could someone tell me how I would find out what field the error is referring to? I have attached a jpg screen shot of the message.
Thanks in advance.
Crystal-Reports-error.JPG
0
Comment
Question by:tesla764
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 143

Assisted Solution

by:Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3] earned 167 total points
ID: 39923289
without seeing the relevant code and the report's underlying query, we can only tell you want the error message is telling you: the code/report tries to access some field name which is not there. it might be a typo or a case sensitivity issue ...
0
 
LVL 100

Assisted Solution

by:mlmcc
mlmcc earned 333 total points
ID: 39923363
WHat code is running when you get the message?

What version of Crystal?

Can you open the report in the Crystal designer?
DO you get an error if you preview it?

mlmcc
0
 

Author Comment

by:tesla764
ID: 39923396
We are running Crystal Reports 10. That's what I am trying to find, how do I find the field name that is causing the problem. I believe the vb6 code is running. If I can find the report name I will try opening that in crystal reports designer.
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 333 total points
ID: 39923476
How does the application run reports?
Is it on user selection or does it run a set of reports automatically.

To find the field name you need to know which report it is and the code that is running it.  Generally the issue is the code is changing a formula in the report or the database has changed.

mlmcc
0
 

Author Comment

by:tesla764
ID: 39923492
User Selection.
0

Featured Post

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question