?
Solved

Runtime Error 20997.

Posted on 2004-04-26
7
Medium Priority
?
2,416 Views
Last Modified: 2007-12-19
Hi All,

I have a report which contains 4 subreports. When i try to open the report i get "Runtime Error 20997".This happens only for a particular record. The reports are TTX based. I am using CRPEAUTO object to preview the report.

Thanks in Advance.

Regards.
0
Comment
Question by:Pentech
[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
  • 2
7 Comments
 
LVL 101

Expert Comment

by:mlmcc
ID: 10928331
The Crystal Knowledge base doesn't have much help.  All are older versions and most are using the OCX rather than the CRPE method.

What version of Crystal?

Is there anything special about the record in question?

mlmcc
0
 
LVL 42

Expert Comment

by:frodoman
ID: 10928334
OLE2 files may need to be registered. To register OLE2 files go to Start | Run, and enter:  C:\windows\system\ole2.reg

If registration was successful the following message will appear: Information in C:\windows\system\ole2.reg was successfully entered into the registry.


0
 

Author Comment

by:Pentech
ID: 10935434
I am using Crystal Reports 7.0

The OLE2.REG file mentioned is not present on my machine. Any info on where to get the file ?

0
 
LVL 101

Accepted Solution

by:
mlmcc earned 252 total points
ID: 10935459
0
 
LVL 42

Assisted Solution

by:frodoman
frodoman earned 248 total points
ID: 10937880
mlmcc's second link explains the same thing I told you.  I'm not even certain this is relevant in your case but it's the only information I could find.

Since you said it happens on a certain record I'm assuming it's not chart-related.

Can you identify the record when this happens?  Is there anything different about this record?  Do the records involve standard data fields or are you returning OLE Objects?
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

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. …
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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses
Course of the Month7 days, 23 hours left to enroll

765 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