Solved

Crystal Report Formula issue

Posted on 2011-09-02
5
341 Views
Last Modified: 2012-05-12
I have the following simple formula:
SELECT document_image.ID 'FROM DocM.document_image document_image
'WHERE FACILITY='98'
I keep getting this error and highlights document_image.id this field is a string:
'A number, currency amount, boolean, date, time, date-time, or string is expected here.'

Any help greatly appreciated

0
Comment
Question by:nobile00
  • 2
  • 2
5 Comments
 
LVL 9

Expert Comment

by:jerrypd
ID: 36474930
is that a quote before the From and before the Where?
shouldnt be there!
0
 
LVL 9

Expert Comment

by:jerrypd
ID: 36474933
and is facility a numeric or string?
if numeric, kill those quotes as well
0
 

Author Comment

by:nobile00
ID: 36474961
I removed the quotes around the number and the ' before Where still get the same error.

Facility is in fact  Numeric
0
 
LVL 13

Accepted Solution

by:
LIONKING earned 500 total points
ID: 36475014
If DocM.document_image is already in your table definitions (for the report), then your formula should only be something like:

{DocM.document_image.FACILITY}=98
0
 

Author Closing Comment

by:nobile00
ID: 36475208
Thanks I used tge Facility = 98 and built a select statement.  Thanks for pointing in the right direction.
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

There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

743 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

11 Experts available now in Live!

Get 1:1 Help Now