Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Simple Crystal Report's Question

Posted on 1998-12-22
2
Medium Priority
?
355 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 200 total points
ID: 1451945
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
ID: 1451946
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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

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…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

916 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