Solved

Simple Crystal Report's Question

Posted on 1998-12-22
2
349 Views
Last Modified: 2012-05-04
How can I get the following formula to work in CR 7.0

if {audit_detail.accum} = "Y" then
  "Average: " +
  ToText(Sum(ToNumber({answer_detl.answer}), GroupName ({answer_detl.seq_no})))

This is giving me an error saying that a field is required where is says ToNumber, but the field answer_detl.answer is stored as text even though it is actually numeric.
0
Comment
Question by:Jagar
2 Comments
 

Accepted Solution

by:
sujmags earned 50 total points
Comment Utility
I created a table that matches ur case and tried to solve the problem,here u go

Create a formula field to compute ToNumber{answer_detl.answer}
say Formula1

now in formula2 , say sum(@formula1,groupcondition)

Now it never gives this error - "Field is required"

Hope this helps
0
 
LVL 2

Author Comment

by:Jagar
Comment Utility
Thank You it is amazing what you sometimes miss or don't think of.  I have this vastlt complex report working great, but here I forget how to do something simple.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

744 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now