Solved

Crystal Report Formula issue

Posted on 2011-09-02
5
342 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
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 Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

920 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