Solved

Error when running report in BOE Business Objects

Posted on 2012-03-20
2
1,022 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
[X]
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 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

After restoring a Microsoft SQL Server database (.bak) from backup or attaching .mdf file, you may run into "Error '15023' User or role already exists in the current database" when you use the "User Mapping" SQL Management Studio functionality to al…
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 …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

740 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