Crystal Report Formula issue

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

Any help greatly appreciated

Question by:nobile00
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

Expert Comment

ID: 36474930
is that a quote before the From and before the Where?
shouldnt be there!

Expert Comment

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

Author Comment

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

Facility is in fact  Numeric
LVL 13

Accepted Solution

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:


Author Closing Comment

ID: 36475208
Thanks I used tge Facility = 98 and built a select statement.  Thanks for pointing in the right direction.

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

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…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

690 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