Crystal Report Formula issue

Posted on 2011-09-02
Medium Priority
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 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

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 2000 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses
Course of the Month12 days, 23 hours left to enroll

777 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