Solved

Error when running report in BOE Business Objects

Posted on 2012-03-20
2
1,018 Views
Last Modified: 2012-08-13
Anyone tell me why I might get this error in BOE?  This is a formula in a crystal report.  The report runs fine when it is hitting the database outside of BOE.  But after it is loaded in BOE we keep getting the error at the bottom of this text.  
---------------------------------------------------------------------------------------------------------------------------------------------
There is a formula called DLOS.  The formula says:
if isnull({CLARITY_UCL_PB.PROCEDURE_ID}) then 0
else
if {CLARITY_UCL_PB.PROCEDURE_ID} in [110202,110204,110206,4,65737,102604,23646,23648,
23650,23652,23654,23656,23658,23660,23662,23664,160493]
then 1
else 0
--------------------------------------------------------------------------------------------------------------------------------------------
Error in File ~tmp5ae86fcc76dd1a90.rpt: Error in formula DLOS: 'if ' A string is required here. Details: errorKind
--------------------------------------------------------------------------------------------------------------------------------------------
0
Comment
Question by:Becky Edwards
2 Comments
 
LVL 26

Accepted Solution

by:
Kurt Reinhardt earned 500 total points
ID: 37746922
It sounds like the database connection/driver being used on the development machine isn't the same as what's being used on the Enterprise server.  One is recognizing the procedure code as numeric, the other isn't. You could test this by putting quotes around each of the procedure codes for the Enterprise version.

If you find that's the case, then you need to re-consider how you develop and publish your Clarity reports.  Best practices dictate having exactly the same type of connection for both developer and server machines.

Also, it's pretty common for Clarity fields to change datatypes between builds.  I've run into many situations where fields that were previously string/numeric changed to numeric/string.  You might try doing a simple "Verify Database" in Crystal Reports to see if the tables have changed.  I'm actually working on a project this week where I imported about 1500 EPIC Clarity reports from an old Enterprise Server to a new one.  I needed to modify about 50 reports and found at least 10 where the tables had changed since the report was last published.
0
 

Author Closing Comment

by:Becky Edwards
ID: 37749329
You were so right!!!!!  Opened the report up in Crystal on the BOE server and verified the database.  EPIC has changed the proc id to a string, and I didn't know it.  We changed everything and the report runs perfectly.

Thanks so much for your help!
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Hi all, It is important and often overlooked to understand “Database properties”. Often we see questions about "log files" or "where is the database" and one of the easiest ways to get general information about your database is to use “Database p…
If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

816 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

7 Experts available now in Live!

Get 1:1 Help Now